Sandreal / Publications
Forum
Setting member variables in MQL5
Hello everybody, I'm new in Mql5 and have a question about setting member variables. I want to do something like this: #include <.../ABC.mqh> class XYZ { private : ABC *test; public: XYZ(ABC *test_new); } XYZ::XYZ(ABC *test_new) { test = test_new; } The problem is that when I try to compile it