-
Play videoPlease edit your post.
For large amounts of code, attach it - Both struct and class can have an assignment operator.
- Show us your code.
- If it doesn't compile there wont be a ex5. How should we know? There are no mind readers here. What do the logs say?
-
Please edit your post.
For large amounts of code, attach it - Both struct and class can have an assignment operator.
- Show us your code.
- If it doesn't compile there wont be a ex5. How should we know? There are no mind readers here. What do the logs say?
Sorry, It's my fault. New update of the terminal do not send the cursor to the error lines. It's simply stay on the top.
I will find the solution. Thanks.
P.S. To the developers -> After clicking "compile" put the cursor on the first line with error. Idiots like me are your client too :D
one_monk:
You have to write to ServiceDesk to report bug.
Sorry, It's my fault. New update of the terminal do not send the cursor to the error lines. It's simply stay on the top.
I will find the solution. Thanks.
P.S. To the developers -> After clicking "compile" put the cursor on the first line with error. Idiots like me are your client too :D
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 have a strange problem with overloading operator = in MQL5.
I have a struct used for data storage:
struct ZigZagData
{
double Value;
datetime Time;
};
Here everything is OK. I use this data type in one array
I need to overload operator = and change the example:
class ZigZagData
{
double Value;
datetime Time;
};