It seems you need a forward declaration. Try to use some advices from this topic.
Also you may take a look at source codes of the following article to get a notion about declaration of several dependant classes.
marketeer:
you mean adding header files of other classes is not enough؟
It seems you need a forward declaration. Try to use some advices from this topic.
Also you may take a look at source codes of the following article to get a notion about declaration of several dependant classes.
pumper:
you mean adding header files of other classes is not enough؟
I mean you need to declare every class before you can use it. When your classes reference each other there is a cyclic dependence, which should be resolved by forward declaration. You can find details in the abovementioned topic, or in Internet - this is a very common and widely used term in oop.
you mean adding header files of other classes is not enough؟
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
Hi i am trying to write an EA in mql5 but oop dont work
example :
but when i try to compile the code i get the following errors :