class C;
class B {
public:
virtualvoid f( C* c ) {}
};
#import "file.ex5"int Trade( constMqlTradeResult& request );
#import
class A {};
voidOnStart()
{
A a;
}
If you remove any extra line (or even a word, e.g. virtual, or constMqlTradeResult& replaced with int, or the entire import is excluded) - everything is fine
I just started to study mql5 from scratch, I'm not familiar with mq4. I can't say that programming is a dark forest for me. When I was at the university I was solving problems using C, but I didn't have enough time to go deeper into OOP. Since I've got very little knowledge about mql5 (it's strange, why?), I started with documentation. In the'Structures and classes' thread, one example fails to compile. In lines
I just started to study mql5 from scratch, I'm not familiar with mq4. I can't say that programming is a dark forest for me. When I was at the university I was solving problems using C, but I didn't have enough time to go deeper into OOP. Since I've got very little knowledge about mql5 (it's strange, why?), I started with documentation. In the'Structures and classes' thread, one example fails to compile. In lines
и
and lines, it generates an error. Is it a mistake in the documentation or am I misunderstanding something?
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
EX5 loading failed (930\32)
If you remove any extra line (or even a word, e.g. virtual, or const MqlTradeResult& replaced with int, or the entire import is excluded) - everything is fineDoes everyone have the same thing going on with the MQL-Storage Fix window buttons?
Does everyone have the same thing going on with the MQL-Storage Fix window buttons?
On Windows XP x32 I can't see the buttons exactly like this, although pressing them works.
I'll write to the sd.
Thought someone jinxed my buttons))
That's fine...
This is a compilation error. What's the difference?The man registered yesterday.
Within a day he had time to read over 5,000 forum threads (probably by Lenin's technology - swallowed them in lines. Cover to cover!).
Then he began to click on all the friends, of course, knowing no one and none of them do not communicate.
Question:
Is there any plan to fight the bunwhunters? Or let them be?
The man registered yesterday.
Within a day he had time to read over 5,000 forum threads (probably by Lenin's technology - swallowed them in lines. Cover to cover!).
Then began to click on all the friends, of course, knowing no one and none of them do not communicate.
Question:
Is there any plan to fight the bunwhunters? Or let them be?
Hello!
I just started to study mql5 from scratch, I'm not familiar with mq4. I can't say that programming is a dark forest for me. When I was at the university I was solving problems using C, but I didn't have enough time to go deeper into OOP. Since I've got very little knowledge about mql5 (it's strange, why?), I started with documentation. In the'Structures and classes' thread, one example fails to compile. In lines
и
CFoo foo41=foo1; // неявный вызов конструктора копированияand lines, it generates an error. Is it a mistake in the documentation or am I misunderstanding something?
The version of MetaEditor is 5.00 Build 930.
Hello!
I just started to study mql5 from scratch, I'm not familiar with mq4. I can't say that programming is a dark forest for me. When I was at the university I was solving problems using C, but I didn't have enough time to go deeper into OOP. Since I've got very little knowledge about mql5 (it's strange, why?), I started with documentation. In the'Structures and classes' thread, one example fails to compile. In lines
и
and lines, it generates an error. Is it a mistake in the documentation or am I misunderstanding something?
The version of MetaEditor is 5.00 Build 930.