#include <stdio.h>
int main(void){ FILE *fp; char name[100]="µ¿Çع°°ú ¹éµÎ»êÀÌ ¸¶¸£°í ´ÞÅä·Ñ."; int i,score;
fp = fopen("C:/uuu.txt","w"); if(fp == (FILE *) NULL) { fprintf(stderr,"file open fail !!! n"); exit(1); }
fprintf(fp,"%s",name); fclose(fp); /* for(i=0; i<2; i++){ fscanf(fp,"%s %d",name,&score); // fgets(str,100,fp); printf("%s ------ %d n",name,score); } */ }