The code below is supposed to open an existing file to read, but when you enter a nonexisting file it creates that file! Why does this happen and how can I solve this problem.
Thanks...Code:ifstream inFile; inFile.open("u.txt" );
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 13 of 13
Thread: A file problemThreaded View
|
Click Here to Expand Forum to Full Width |