8000
I had to look at the source to be sure that in -x offset data, the offset is written in decimal.
-x offset data
While at it, it would be nice if you could say -x 0x100 instead of -x 256, such as using %i with scanf().
-x 0x100
-x 256
%i
scanf()
Hello, thank you for your suggestion.
it would be nice if you could say -x 0x100 instead of -x 256, such as using %i with scanf().
This is already supported. It is a feature of std::stoi when the base argument is 0. I agree I should document this somewhere.
BTW, -x -1 XX doesn't work in v.1.3.2. Still worked in v.1.3.1.
Nice catch, thank you. (I need to add automated testing.)
Activity
kimci86 commentedon Aug 16, 2021
Hello, thank you for your suggestion.
This is already supported. It is a feature of std::stoi when the base argument is 0.
I agree I should document this somewhere.
cxzstuff commentedon Nov 7, 2021
BTW, -x -1 XX doesn't work in v.1.3.2. Still worked in v.1.3.1.
kimci86 commentedon Nov 8, 2021
Nice catch, thank you. (I need to add automated testing.)