Внимание! Любой из материалов, опубликованных на этом сервере, не может быть воспроизведен в какой бы то ни было форме и какими бы то ни было средствами без письменного разрешения владельцев авторских прав. Подробнее...
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.
When count is divisible by a hundred (100,200,300...) the condition will be triggered, i.e. the remainder will be zero.
I.e. multiplicity 100, in all other cases it will be like 2.5, 4.6, etc. - the remainder will be 0.5 and 0.6 respectively.
The remainder of division only works for integers, so 0.5 and 0.6 can't be, but otherwise it's correct.
Please help in C++: is it possible to specify an enum type? For example, I don't want 4 bytes, but one or eight.
Clearly not -- the type is generated based on the values. There may be a minimum size (4 bytes)
But by setting specific values, the type can be controlled.
Better double-check, may have forgotten. There seems to be some tricky stuff with signed unsigned.
Clearly not -- the type is generated based on the values. There may be a minimum size (4 bytes)
But by setting specific values, the type can be controlled.
Better double-check, may have forgotten. There seems to be some tricky stuff with signed unsigned.
Thanks, it's always 4, at least for me :)
Here's what I found:
Currently C++ doesn't support this. C++0X will support this, using this syntax:
Please help in C++: is it possible to specify an enum type? For example, I don't want 4 bytes, but one or eight.
Basic C++ types
Hello.
I threw new indices in the folder C:{Program Files\InstaTrader 5\MQL5\Indicators\Examples, but they are not visible in the terminal?
What's the problem?
Hello.
I threw new indices in the folder C:{Program Files\InstaTrader 5\MQL5\Indicators\Examples, but they are not visible in the terminal?
Please tell me what's wrong.
The terminal uses a different folder.
If you run it with the /portable switch, it will use its own folder.
D:\.....\terminal.exe /portable
Thanks, always 4, at least for me :)
Just checked in VS2010 :) it works.
It gives out sizeof == 1.