摘要:
#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 阅读全文