std::ifstream file( "filename.txt" ) ;
std::string line ;
while( std::getline( file, line ) )
{
// parse the line which was just read
}
vijayan121
Posting Virtuoso
1,606 posts since Dec 2006
Reputation Points: 1,159
Solved Threads: 287
Nichito
Posting Virtuoso
1,602 posts since Mar 2007
Reputation Points: 424
Solved Threads: 57
Please create a new thread because this one has already been solved...
Taywin
Posting Virtuoso
1,727 posts since Apr 2010
Reputation Points: 229
Solved Threads: 239