Friday, May 21, 2010

I want some defenation or simple explanation to array in c++?

in C++ just as in Ada95 and array is nothing more than a variable that contains a sequence of data of the same kind. I'm guessing that's the kind of array you needed to know right?

I want some defenation or simple explanation to array in c++?
One demension:


int array0[];


int array1[5];


int array2[] = {2, 3, 4, 5};





multiple demension:


int array3[][2];


int array4[2][2];


int array5[][] = {{2,3}, {2,3}};

flower pictures

No comments:

Post a Comment