Errors, bugs, questions - page 1587
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
I'd love to learn, but Google doesn't understand where I went wrong. Could you summarise my misunderstanding? I see a compiler error in your example at the "normal" line. In my mind, the compiler should have blamed it.
const here refers only to the pointer, not to the object by this pointer
I know what you mean. But I think there must be a mistake.
If it were not MQL5, we would have to write something like this
and then there would have been questions. But this is MQL5. The foolproof code is justified, IMHO.
Alexey Navoykov:
const здесь распространяется лишь на указатель, а не на объект по этому указателю
I have several accounts in the terminal of the A's in my favourites. I would like to connect to these accounts one by one and retrieve the required information.
Has anyone made such a connection through WinAPI? Please share, please.
I am looking for the broker with the best demo prices for the symbol. The idea is like this
There are no constant pointers in MQL5!
You were told correctly: study the math. In your example, it is a pointer to a constant object, not a constant pointer.
Then where do you think the constant pointer is?!