//--- octal %o
int b=017; // octal:21 actual it is decimal
What I need is the presentation of number in octal instead of output value in octal.
int x = 10;// in decimal
int y = 0x10;// in hex
int z = 010;// it is octal in C++ and it is equal 8 ,but it is not octal in MQL,it is still decimal in MQL
printf("%o",z) --- //this is output by octal.
I just wished they were the same.
Yes but they seem to be getting closer.
Maybe i wished it was more like Python.
I mean a more modern language as it is hard to work with larger numbers on the older ones.
I want to do it in C++ , because it's fast.
I want to do it in Python, because it's easy.
But Python always wins even though its a magnitude of 40x slower than C since it's an interpreter language.