2008年5月27日

C++读写文本文件

摘要: C++读写文本文件 #include #include using namespace std; int main() { const char filename[] = "mytext.txt"; ofstream o_file; ifstream i_file; string out_text; //写 o_file.open... 阅读全文

posted @ 2008-05-27 13:14 步走高飞 阅读(15395) 评论(0) 推荐(0) 编辑

导航