3 ms·
You can write 1'000'000 for a million in C++14. http://en.cppreference.com/w/cpp/language/integer_literal http://en.cppreference.com/w/cpp/language/integer_lite
by Someone 11y ago
You can write 1'000'000 for a million in C++14. http://en.cppreference.com/w/cpp/language/integer_literal http://en.cppreference.com/w/cpp/language/integer_literal.
They didn't use underscores because _100_000 is a valid identifier in C/C++.
Arbitrary bases aren't there.
- CamperBob2 11y agoNeat, I didn't know they'd done something similar with single quotes. (No law said they had to allow constants to start with an underscore, of course...)