array Initialize ?
Is there a way struct
Freitag:
Is there a way struct array Initialize ?
Is there a way struct array Initialize ?
Yes by adding a constructor to your struct. When you will use ArrayResize the constructor will be called for each element of the array.
MyStruct() : a(EMPTY_VALUE),b(EMPTY_VALUE),c(EMPTY_VALUE),d(EMPTY_VALUE) {};
Thanks.
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