Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- do{
- printf("1. stampare giocatore con piu' reti nell'elenco\n");
- printf("2. stampare giocatore con meno reti nell'elenco\n");
- printf("3. cercare giocatori appartenenti a una squadra\n");
- printf("4. cercare un giocatore per cognome\n");
- printf("5. salva su file\n");
- printf("6. esci\n");
- scanf("%d",&risposta);
- switch(risposta)
- {
- case 1:
- massimo(player,n);
- break;
- case 2:
- minimo(player,n);
- break;
- case 3:
- posizione=cerca(player,n);
- stampa_trovato(player,posizione);
- break;
- case 4:
- case 5:
- fp=fopen("marcatori2,txt","w");
- salva_su_file(fp,player,n);
- fclose(fp);
- break;
- }
- }
- while(risposta!=6);
Add Comment
Please, Sign In to add comment