int is a keyword for the integer data type. The integer data type is suitable for for storing whole numbers.
int main()
{
const int dice_value{5};
}
Boost.Integer is a Boost library for working with integers.
CLN is a library for working with integers of near-infinite size (as long as computer memory permits). The data type is called cln::cl_I.
- GetMaxInt: get the maximal value of an int
- GetRandomInt64: get a random 64-bit integer
- IntToAnsi: convert int to AnsiString
- IntToBitString: convert int to a bitstring
- IntToGray: convert int to Gray code
- IntToStr: convert int to std::string
- IntToStrWithSep: convert int to std::string with adding thousands seperators
- IsInt: check if a std::string can be converted to an int