I have a problem.
My program is prompting the user for a file address like this:
// ...
string address;
cout << "Enter file address:\n";
cin >> address;
file.open(address);
// ...
But this is causing me an error. Anybody has any suggestions?
Thanks!
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 2 of 2
Thread: file.open(address); // ERRORThreaded View
|
Click Here to Expand Forum to Full Width |