View Single Post
Old 25-10-2007, 16:42   #2
arara
Senior Member
 
L'Avatar di arara
 
Iscritto dal: Aug 2007
Messaggi: 1270
Se vuoi risolvere il problema senza usare liste o allocazione dinamica, puoi fare cosi:
scorri il file sorgente finche non trovi il nome cercato, e man mano che lo leggi salvi i dati degli studenti su un altro file.
Quando trovi lo studente da modificare, stampi le sue informazioni sullo schermo e chiedi all'utente cosa vuole modificare.
Una volta fatte le modifiche salvi i dati appena modificati sul nuovo file, e poi tutti quelli degli studenti che seguono fino alla fine.
Quando hai finito sovrascrivi il vecchio file con il nuovo, cosi ti trovi con l'archivio modificato.

Ultima modifica di arara : 25-10-2007 alle 16:45.
arara è offline   Rispondi citando il messaggio o parte di esso
 
Hardware Upgrade Forum Database Error
Database Error Database error
The Hardware Upgrade Forum database has encountered a problem.

Please try the following:
  • Load the page again by clicking the Refresh button in your web browser.
  • Open the www.hwupgrade.it home page, then try to open another page.
  • Click the Back button to try another link.
The www.hwupgrade.it forum technical staff have been notified of the error, though you may contact them if the problem persists.
 
We apologise for any inconvenience.