Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- FILE *fp;
- ////////////////////////////////////////////////////
- int main() //
- {
- fp = fopen("SONY.txt", "w");
- if(fp == 0)
- {
- printf("Error open file!\n");
- return 0;
- }
- fprintf(fp, "Privet, Eugeny!");
- fclose(fp);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement