View Single Post
Old 23-05-2008, 15:38   #7
DanieleC88
Senior Member
 
L'Avatar di DanieleC88
 
Iscritto dal: Jun 2002
Cittā: Dublin
Messaggi: 5989
Quote:
Originariamente inviato da Maverick-f14 Guarda i messaggi
se nn vuoi utilizzare strutture dinamiche. l'unica soluzione č mettere nella signature della procedura questo:

TYPE procedura(arg arg..... TYPE World[][200], int col, int righe)

ovvero in base a quello ke fa il tuo programma decidi un intero tale ke come numero di colonne non possa essere superato ( il 200) e passa alla procedura i dati letti da STDINPUT.
A parte che mi sembra il compilatore non accetti il passaggio di matrici con diversa dimensione, se poi viene usata una matrice 10x20 e lui accede a World[3][2] che succede?
__________________

C'ho certi cazzi Mafa' che manco tu che sei pratica li hai visti mai!
DanieleC88 č 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.