Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void zapisz(float tab[],char *fbinname, char *ftextname)
- {
- int i;
- FILE *plik_b=fopen(fbinname,"wb");
- fwrite(tab,5,sizeof(float),plik_b);
- fclose(plik_b);
- FILE *plik_t=fopen(ftextname,"w");
- for(i=0;i<5;i++)
- fprintf(plik_t,"%f ",tab[i]);
- fclose(plik_t);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement