your file is a stream, so it works the same ways as cin and cout, so...
myFile >> a;
myFile >> b;
myFile >> c;
myFile >> d;
myFile >> e;
if ( !myFile ) {std::cout << "an error occured" <<...
CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
Search:Type: Posts; User: monarch_dodra Search: Search took 0.04 seconds.
Results 1 to 3 of 3
|
Click Here to Expand Forum to Full Width |