摘要: IO类型的3个独立的头文件: iostream定义读写控制窗口的类型, fstream 定义读写已命名文件的类型, (包含fstream类) sstream定义读写存储在内存中的string对象。(包含了stringstream类) IO类型不可复制或赋值 因此... 阅读全文
posted @ 2013-09-20 19:14 N3verL4nd 阅读(246) 评论(0) 推荐(0)
摘要: #define _CRT_SECURE_NO_WARNINGS#include #include #include #include #include using namespace std;int main(){ fstream file; char filename[100]; FILE *... 阅读全文
posted @ 2013-09-20 11:20 N3verL4nd 阅读(351) 评论(0) 推荐(0)