std::ifstream input( "filename.ext" );. If you really need to read line by line, then do this: for( std::string line; getline( input, line ); ) { ...for ...
確定! 回上一頁