Or you can just do:
if(fp)since NULL will evaluate to false...
Type: Posts; User: Berticus
Or you can just do:
if(fp)since NULL will evaluate to false...
Yeah.... He said it wouldn't be that much anyway. Only what was allocated to hold the value.
Hmm... bringing the system to a crawl... lol, yup, that's definitely a problem.
Thanks
Damn! Beat me to it. Yeah, never return a pointer...
I asked my friend a question to see what kind of programmer he is. He's the kind of programmer that just wants it to run, and let the OS take care of any system problems.
So I asked him what...
it doesn't have to be an integer:
switch(reply)
{
case 'y':
case 'Y':
break;
default:
loop=FALSE;
break;
}
ASP really sucks though. If you're going to use a scripting language, use PHP or ASP.NET.
---------------------------------------Edited---------------------------------------
Also, I've heard...
yeah, I'm using Linux. ........guys, I swear I said I solved the problem...
Cuz she wasn't here... and I try to fix these things as soon as possible so I can move on
Ctrl+z does terminate the program (I typed in "hello"):
$ ./C++/Exercise0.3/Count
hello
d nothing
d...
Yeah... I have 3rd edition, but my mom suggested 2nd edition since it went more into depth in a particular subject, I forget what it was... Anyway, she helped me out (she knows like 12 or so...
I learned C two or so years ago, and I recently (last year) decided to teach myself cxx. I never got around to doing it until now. So I have this book called C++ Primer 2nd Edition by Stanley B....