Game

Hi. I'm start now in C++.
I made 2 array val[10] e sem[4]. There is a method to made a multidimension array paper[10][4] or unidimension paper[40] ?

Example in array val the first char is 1, second is 2 ecc. and in the second array first char is c, second o, third s, fourt b.

union will be 1c, 1o, 1s, 1b, 2c, 2o, ecc..

thanks

Dario
Please take a look here:

http://www.cplusplus.com/doc/tutorial/arrays/

You have examples to create an use such arrays.
Topic archived. No new replies allowed.