STUDY/C_C++
[C/C++] 새로운 파일 만들기 (Make a New File)
Unbalance is balance
2016. 8. 12. 13:29
#include <stdio.h>
#pragma warning(disable: 4996)
int main(){
FILE *pFile;
pFile = fopen("MakeAFile.txt", "w");
if ( pFile != NULL ){
fputs("fopen example", pFile);
fclose(pFile);
}
return 0;
}