In Java I can do:
int i = 1_200_200;
How can I do something the same in c++? I mean what should I use instead of an underscore?
In Java I can do:
int i = 1_200_200;
How can I do something the same in c++? I mean what should I use instead of an underscore?
Since C++14 you can use single quotes (') for integer literal to improve the readability, e.g.
In C++ you can use the ordinary quote. For example
In C such a feature is absent.