G
Guest
Hello everyone,
I find to initialize two dimentional array in Visual Studio, I have to
specify the number of elements. For example,
So, the best solution is to specify the number of elements of the 2nd
dimension (inner dimension)?
thanks in advance,
George
I find to initialize two dimentional array in Visual Studio, I have to
specify the number of elements. For example,
Code:
const char foo[][] = {"hello", "world"}; // compile error
const char goo[][64] = {"hello", "world"}; // compile correct
So, the best solution is to specify the number of elements of the 2nd
dimension (inner dimension)?
thanks in advance,
George