algotrader01:
Maybe this might be possible using pointers? I just did a bit of try and error but did not work out. However, I am not really into using pointers at the moment...
Hello,
am I missing something or is it not possible in a class to initialize an array as follows:
What works is:
Is there any work around there?
Since I have quite a decent amount of large arrays the first method of initializing the arrays would be much nicer...
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
Hello,
am I missing something or is it not possible in a class to initialize an array as follows:
In class_A: class_B b; double Arr[] = {b.value, ....};
What works is:
Is there any work around there?
Since I have quite a decent amount of large arrays the first method of initializing the arrays would be much nicer...