Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Void inserir() {
- Int c;
- Fx=fopen("fotos.dat","r");
- Fseek(Fx,0,2) ;
- Do{
- Fotos.num=ftell(fx)/sizeof(fotos)+1;
- Fclose(fx) ;
- Fopen("fotos. Dar", "a+") ;
- Scanf("%s", localidade) ;
- .
- .
- .
- Fwrite(&fotos,sizeof(fotos),1,fx);
- Scanf("%d", & c) ;
- While(c==1);
- Fclose(fx) ;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement