摘要: #include <iostream>#include <stdio.h>#include <fstream> using namespace std;int main(){ FILE *fp = fopen("test.txt","wb"); //以写入读入方式创建一个二进制文件,并返回文件指针 if(fp==NULL){ printf("can not open the file test.txt!\n"); exit(1); } else{ printf("The file test 阅读全文
posted @ 2012-08-20 09:25 Pengchao Bai 阅读(180) 评论(0) 推荐(0) 编辑