cplusplus.com
C++ : Users : demosthenes2k8
 
cplusplus.com
Information
Documentation
Reference
Articles
Forum
User: demosthenes2k8
Public profile
Send private message


User profile: demosthenes2k8

User info
User name:demosthenes2k8
Location:NH, USA
Website:http://demosthenes2k8.endoftheinternet.org
Statistical data
Gender:Male
Occupation:Student
Skills:C
PHP
C++
Visual Basic
Javascript
Python
History
Joined:
Number of posts:174
Latest posts:

Check if return value is 1
What if the user inputs 1? You'll get problems.

Fstream fails to open even though the filename is correct
Yeah, that helped me fix it. Apparently it was appending the name of the file onto the string, whic...

Fstream fails to open even though the filename is correct
That code still fails when the program's folder is in the PATH, though. http://dl.dropbox.com/u/285...

Fstream fails to open even though the filename is correct
Yeah, that should work, but that's not the problem. The problem is that the fstream doesn't open the...

Fstream fails to open even though the filename is correct
Nope. The reason being the above: if the path to the executable's stored in PATH, then argv[0] will ...