2012年11月30日 - Parameters for istream::getline() is wrong; You need clear eof flag after ... no need for dynamic allocation. cin.getline(filename, 256); // second ...
stackoverflow.com