- Strength to Increase Rep
- +7
- Strength to Decrease Rep
- -1
- Upvotes Received
- 7
- Posts with Upvotes
- 6
- Upvoting Members
- 7
- Downvotes Received
- 5
- Posts with Downvotes
- 4
- Downvoting Members
- 5
190 Posted Topics
Re: 10 CLS nomainwin `Nice try but there were some mistakes, `anyway it is very good.If you want to get `deeper into C++ it is better to start learning `some Liberty basic (www.libertybasic.com) it `will help oyu improve your skills in all not visual languages. PRINT "Nice calculator !!!" INPUT "equal … | |
Please find and correct the error in my c++ program. "Linker Error: Undefined symbol _main in module c0.ASM" The program is for transfering content of one file to another. #include<fstream.h> #include<iostream.h> #include<conio.h> class student { int rollno; char name[20]; int tm; public: void input(); void transfer(); void output(); } obj; … | |
Re: [QUOTE=CoolGamer48;608634]I am under the impression that when you declare a variable of a complex data type (not sure if that's the right word, I mean like a self-defined class vs. an [B]int[/B]) it is automatically a pointer.[/QUOTE] Yes, they are called "reference types". The references point to objects. . [QUOTE=CoolGamer48;608634]You … | |
Re: on linux, i would do [code]# g++ -o foo foo.cpp # ./foo this is a test program [/code] | |
Re: I had this problem in Joomla! with my php code that I was including in an article through the plugin sourcerer. Well, needless to say, my web hosting changed to php 4 without me knowing why, I changed it to php 5 as the compiling engine and it worked like … | |
Re: it's not security (there are ways to get access to private fields and methods anyway), it's called abstraction the idea is that if people can access stuff, then they will write code which will depend on it; then when you want to change the implementation, it will not work anymore. … | |
Re: How??? how can u update your speed from 3 kbps to 205 kbps?? plz tell me................plzzzzzzzzzzzzzzz reply me the update procedure on: [email][email protected][/email] Thanks..............:) | |
Re: the exception tells you exactly what's wrong; you can't cast it, because it's not that type what makes you think that it is a StreamConnection? and why do you need it to be? | |
Re: To compile in Visual Studio, add [code]#pragma comment(lib, "winmm.lib")[/code] | |
![]() | Re: ya even i hav a same problem with my friends pc his configration is also very similar i.e. 2GB RAM,Nvidia mobo,Nvidia 512 MB graphic card, win XP pro service pack 2, Intel Core2Duo Processor(2.56GHz) n a 19"W LG LCD screen n every one gives dose solutions u mentioned,which r of … |
Re: [code] foreach ( char lDisallowed in System.IO.Path.GetInvalidFileNameChars( ) ) { safe = safe.Replace( lDisallowed.ToString(), "" ); } foreach ( char lDisallowed in System.IO.Path.GetInvalidPathChars( ) ) { safe = safe.Replace( lDisallowed.ToString(), "" ); } [/code] | |
Re: It does not need an uninstall code on Vista, but it does on XP. I suspect that it will soon need a code on Vista though. If you call them at the 800 help number on their site, they can help you regain the admin password. | |
Re: [QUOTE=meep AX;188050]Yeah, I'm having a similar problem with an ASUS mobo with a Pentium III processor. The power supply is working, HD is spinning, CD-ROM's are working, fan on CPU is running, etc. The power button on the front of the computer isn't working. I tried taking out the RAM … | |
Hi I have created a simple search form to search a movies database on my page using jsp and mysql, how can I make a download link after results have been extracted in a result page. Thanks for your nice reply. | |
Re: [QUOTE=GerkMulder;326702]It doesn't seem to work for me unfortunately, i have tried everything but nothing seems to delete the file! :-( Can you please help me?[/QUOTE] No, the DMR's method works. You just have to start command prompt cmd at START/RUN. Then you navigate in CMD to the folder where this … | |
Re: [QUOTE=jk_bscomp;597747]I need to compile my program everytime I want them to run[/QUOTE] No. You compile it once to .class files. Then you run the .class files with "java MyClass". | |
Re: (Using a BugMeNot account, hope previous people weren't jerks) I've actually had a very very similar problem where Windows XP, being stuck at 32 minutes remaining and trying to figure out Network. Disabling the onboard LAN worked like a charm (like a previous post mentioned). I also removed any network … | |
Re: [QUOTE=ikugan26;589424][CODE]int returnVal = null;[/CODE][/QUOTE] also this code is wrong | |
Re: [quote=Dark_Omen;330391]No that didn't work. Now I am downloading it, and reinstalling wmp to see if fixes it.[/quote] Hello, I'm having problems w/ WMP11 too (Vista Premimum). My ripped CD and playlist are no longer importing to library...just in music fold. Did reinstalling solove you're issue and did you first uninstall … | |
Re: if you want a dynamic array, which has a finite size that grows and shrinks as you add or remove elements, take a look at std::vector | |
Re: note that with any two numbers a and b, a * b = gcd(a, b) * lcm(a, b) | |
Re: you should have [code]int starB=10;[/code] inside the outer while loop | |
Re: Scanner.next() returns up to the next delimeter, which is a space by default what do you expect it to do? if you want to read the rest of the line, you can use the "nextLine()" method | |
Re: Did you tell your friend about PackageKit or Smart and the all the distros they both work on? I've used "Apt4RPM" on multiple distros, it works great. What about ZeroInstall and all its clones that let you build "install anywhere" linux packages by bundling libraries? Or gnome-app-install (Add/Remove Programs) or … | |
Re: You have no idea how ridiculous your headline is. All the 8,000 Linux distros <b>combined</b> equal something like a 0.94% market share. | |
Re: [quote=leoman;74073]have written a shell script in which I use fastmail to send emails from the shell script. It sends email to my company account with no problem. But I wan to send the same email to a pager number so that the pager goes off when the particular condition occurs. … | |
Re: Bushii...your advice works mate. Simple as ABC. Sceptic at 1st but hey presto..it works right after i restart my comp. Thanks a million mate. | |
Re: how are you connecting them and what are you connecting them to? | |
I have an discrete maths exhibition, and i wanted to illustrate the influence of discrete maths in computer science. so i need some softwares to illustrate. A few examples like set theory for computer networking. graph theory and big O for analysis of algoritms. please can some of you suggest … | |
How to focus a combobox in windows forms when the program is running in a thread? | |
Please correct the error in my program. When i run the program on turbo c++ 3, it output 3 times. Also When i enter more than 1 entry only the last entry is outputted. Also it is outputted 3 times. [CODE]#include<fstream.h> #include<iostream.h> #include<conio.h> class student { int rollno; char name[20]; … ![]() | |
I have a very similar assignment in which we have been specified that we are NOT allowed to use vectors. Is there any other way in this case to count the number of lines of data within a text file?? | |
Mac OS X Program Sometimes, you find an application that you really, really like, but when you run it, the icon takes up valuable space in your Dock. With Dock Dodger, you can rid almost any application of its Dock icon, giving you your Dock back. With Dock Dodger, removing … | |
Re: This seemed inefficient to me, so I looked around for another way. Here is a simpler way to do it, using the sqlite3.Cursor.description attribute. [code=Python] from sqlite3 import dbapi2 as sqlite cur.execute("SELECT * FROM SomeTable") col_name_list = [tuple[0] for tuple in cur.description] [/code] [URL="http://www.python.org/dev/peps/pep-0249/"]cur.description [/URL]returns a tuple of information about … | |
Re: [url]http://digitaldaily.allthingsd.com/20080428/vista-xp/[/url] | |
SA Tennis Open, PBZ Zagreb Indoors, Movistar Open at [url]http://www.channelsurfing.net/[/url] | |
Re: ls *.done | while read line ; do mv $line $(basename $line .done) ; done | |
Re: Symptoms & circumstance suggust RAM failure. Remove all modules and retest each module individually in each bank slot one by one. [QUOTE=streggiari;719441]I ran the vista Memory Diagnostic Tool on my PC and while it was running the computer shut off. Now it will not start again. The fans and lights … | |
| |
Re: hi, I do not have any special PHP knowledge, so I would like someone to give me a code for this; I have a "text.txt" file on my server, which has underscores in it. I want a PHP code which replaces all the underscores with spaces and then save the … | |
Hy, I am trying to encode an X509 certificate into base64, and since the encoder I'm using takes only char*, and typecasting doesn't work, i find a different way to do this. I'm sure there is a simpler way, but i just can't find it. Here is the code: [CODE]BUF_MEM … | |
Hi I"m fairly new to python and need some help with a slightly complicated programming solution. I'm trying to write a simply TCP sniffer (not a proxy!) that will sniff tcp packets coming from a specific IP and a specific port that is arriving to my local computer where the … | |
Re: public static boolean INSERT(Payment argPayment, Connection con) { boolean result = false; Connection mastercon = MyConnection.getMasterConnection(); try { // String selectStatement = "SELECT SUM(AMOUNT) AS TOTALAMOUNT, SUM(PAID) AS TOTALPAID,OUTSTANDING FROM PAYMENT WHERE SUBID=? AND OFFICEID=? GROUP BY SUBID"; String selectStatement = "SELECT PAID AS TOTALPAID,OUTSTANDING FROM PAYMENT WHERE SUBID=? AND … | |
Re: [QUOTE=chris5126;735039]lol sorry just have seen very similar if not exactly the same problem before!! Look through this forum and you should find the answer somewhere.[/QUOTE] (while read line; do if [ $(echo $line | wc -c) -eq 1 ] ; then echo; else echo -n $line,; fi ; done<address.txt ) … | |
I am using cin to input a single character from keyboard.The problem is that if 2 or more characters are entered then the rest of the characters are being considered as input for the further cin statements.Is there any way in which I can clear the inpu buffer memory after … | |
If I initialize graphics in my program and then use cout the font appears bigger than normal and the cursor doesn't blink on the screen as it does when the graphics are not initialized.Is there any way I can use graphics as well as cout in my program?If yes how … | |
My IE7 won't load some pages. It was a very recent glitch. The only hallmark to this new problem was playing a game and exiting to a dll error. Now when I go to some web pages, it says IE cannot display this page. I've done the scans that the … | |
Re: well, i tried almost ALL the methods i could find on any forum but nothing worked. finally, i came across "[B][COLOR="Green"]Microsoft Autoplay Repair Wizard[/COLOR][/B]" which automatically changes registry settings, that gpedit stuff and whatever to make Autoplay work again. so, if the Autoplay feature has suddenly stopped working for your … | |
I have tried several things, but I just can't get this to work. What I need is a snippet which scans a program for value X, and then simply assigns a varible within the python script to the X value. I'm new to Python, but not to programming. Please be … | |
Re: I can point out a few things. * You are relying on the default return values of your boolean functions being false. In the case of 'term', if the first 'perimeter' call returns false, you might still return a positive value. Same deal with 'expression'. If possible, configure your compiler … |
The End.