Wertzuweisung in einem Array

Schnelle objektorientierte, kompilierende Programmiersprache.
LadyBird
Beiträge: 24
Registriert: So Jul 31, 2011 8:12 pm

Re: Wertzuweisung in einem Array

Beitrag von LadyBird » Mi Okt 31, 2012 5:06 pm

Ich würde sagen, jetzt schon:

Code: Alles auswählen

float Pn[imax+2][jmax+2][itermax];
    for(int i = 0; i <= imax+1; i++)
    {

        for(int j = 0; j <= jmax+1; j++)
        {
            Pn[i][j][1] = P[i][j];
        }
    }

Antworten