摘要: if(c=='\'') 逗号是转义字符 阅读全文
posted @ 2011-11-05 17:19 byfei 阅读(389) 评论(0) 推荐(0) 编辑
摘要: blob数据:3132332C31332C302C362C302C312C392C342C352C32302C342C31312C31302C302C#include <fstream> #include <iostream> #include <stdlib.h> using namespace std;void main() { FILE *pt; if((pt=fopen( "d:\\test2.txt ", "a+ "))==NULL) { cout << "erro " < 阅读全文
posted @ 2011-11-05 17:06 byfei 阅读(772) 评论(0) 推荐(0) 编辑
摘要: #include <fstream> #include <iostream> #include <stdlib.h> using namespace std;void main() { FILE *pt; if((pt=fopen( "d:\\test.txt ", "a+ "))==NULL) { cout << "erro " <<endl; } char ch; while((ch=fgetc(pt))!=EOF) { cout <<ch; } fclose 阅读全文
posted @ 2011-11-05 12:56 byfei 阅读(274) 评论(0) 推荐(0) 编辑