Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void createFile(FILE * f)
- {
- int i;
- char ch[20];
- f=fopen("Mtir.txt","w");
- for(i=0;i<5;i++)
- {
- printf("CH:%d: ",i);
- scanf("%s",&ch);
- fprintf(f,"%s\n",ch);
- }
- fclose(f);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement