this is the strangest thing thats happened to me, heres the code
getline() is reading two lines instead of one and erasing the new line...Code:while( tmpstr != ";" ){
getline( file, tmpstr );
tmpmap.init( tmpstr );
map.push_back( tmpmap );
}
Printable View
this is the strangest thing thats happened to me, heres the code
getline() is reading two lines instead of one and erasing the new line...Code:while( tmpstr != ";" ){
getline( file, tmpstr );
tmpmap.init( tmpstr );
map.push_back( tmpmap );
}