[C++] Tablica dwuwymiarowa do funkcji
Ostatnio zmodyfikowano 2015-12-02 15:16
carlosmay |
» 2015-12-02 15:16:40 const int SIZE = 100;
void wczytaj_tab( int wiersz, int kolumna ); void wypisz_tab( int wiersz, int kolumna ); float suma_tab( int wiersz, int kolumna, float pierwsza[][ SIZE ], float druga[][ SIZE ] );
float tab_a[ SIZE ][ SIZE ]; float tab_b[ SIZE ][ SIZE ]; float tab_c[ SIZE ][ SIZE ];
Wymiary tablic statycznych dobrze jest zapisać do stałych i tak używać. |
|
1 « 2 » |