摘要: c++中一次读取整个文件的内容的方法:读取至char*的情况std::ifstream t; int length; t.open("file.txt"); // open input file t.seekg(0, std::ios::end); // go to the e... 阅读全文
posted @ 2014-10-16 11:38 小 楼 一 夜 听 春 雨 阅读(80754) 评论(2) 推荐(4)