#include "stdafx.h"
#include "stdio.h"
#include "iostream"
int _tmain(int argc, _TCHAR* argv[])
{
int count = 0;
while(count<1000)
{
FILE *fp = NULL;
fp = fopen("PATH.txt","a+");
if(fp == NULL)
{
int error = -9999;
std::cout<<"errno is "<<errno;
}
fprintf(fp,"%s\n","12342412");
count++;
fclose(fp);
fp = NULL;
}
system("pause");
return 0;
}
file文件的读写
最新推荐文章于 2025-04-22 12:20:48 发布