As far as I know, MQL5 doesn't offer work with pointers at all.
There definitely are pointers ;)
Does anybody know how to deal with setting member variables of another class included from another mqh file by constructors or other methods?
Ok, I probably didn't describe my problem good enough. But fortunately I got it. This helped a lot: https://www.mql5.com/en/forum/9095
MQL5 should permit circular class dependency
- www.mql5.com
I must admit it takes a lot of time to me to avoid circular class dependency when designing classes structure.
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 everybody,
I'm new in Mql5 and have a question about setting member variables. I want to do something like this:
The problem is that when I try to compile it seems that I only can use references as function arguments. Why can I only use pointers and not just objects as member variables?
Greetings
Sandreal