You are right. Read documentation "MQL4: Initialization of variables"
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
I would like to create and initialize a 2-dimensional array, something like this :
int _2D_ARRAY[2][3] = { {0,1,2} , {10,11,12} };But the compiler does not accept this syntax.
I noted that the following code is accepted by the compiler and it seems to work but I do not know if it is recommended :
int _2D_ARRAY[2][3] = { 0,1,2,10,11,12 };