Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- FILE *file;
- file = fopen("elencomerci.txt","w");
- fprintf(file,"%d",127773);
- fclose(file);
- FILE *file;
- file = fopen("elencomerci.txt", "r");
- int buff = 0;
- fscanf(file, "%d",&buff);
- printf("%d",buff);
- fclose(file);
- FILE *fapp;
- fapp = fopen ("quasifiniti.txt","a");
- fprintf(fapp,"%d %d\n",codice, quantita);
- fclose(fapp);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement