M
mike7411
I was just wondering if there is anything in C++ similar to commas for
making large numbers more readable.
For instance, if you want to write one hundred million, the standard
way is 100000000, and it's
not immediately obvious how many zeros are there. I'd like to be able
to do something like:
long x = 100,000,000;
Any help is appreciated.
making large numbers more readable.
For instance, if you want to write one hundred million, the standard
way is 100000000, and it's
not immediately obvious how many zeros are there. I'd like to be able
to do something like:
long x = 100,000,000;
Any help is appreciated.