[ CnUnix ] in KIDS 글 쓴 이(By): wshan () 날 짜 (Date): 1995년05월16일(화) 21시44분38초 KDT 제 목(Title): 0 byte화일 만들기 file을 open해서 close하면 됨 #define FILE "your_file" #include <stdio.h> main() { FILE *out; if((out = fopen(FILE,"w+"))==NULL) { fprintf(stderr,"Error..Cannot open l\n"); exit(1); } close(out); } 도움이 되셨길.. |