Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<stdio.h>
- #include<stdlib.h>
- int main()
- {
- FILE*fp;
- int i;
- char c;
- fp=fopen("D:\\Filepblm1.txt","w");
- while(i--)
- {if(c=='?')
- {
- break;}
- c=getchar();
- fputc(c,fp);
- }
- fclose(fp);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement