Skip to content

Integer Types ​

Integer types represent values without a fractional part. C++ provides signed and unsigned integer types with different widths.

cpp
short small{12};
int count{100};
long long distance{9'000'000};
unsigned int flags{0U};