摘要: Today meets a bug, when read more than one files using only one std::ifstream object. possible code as following:std::ifstream infileinfile.open(a)if (infile.bad()) { std::cerr << "read failed" << std::endl; }std::string line = "";while (std::getline(infile, line), in 阅读全文
posted @ 2013-01-28 22:09 Crafet.36.77 阅读(203) 评论(0) 推荐(0)