c++ infinity series code example Example: infinity c++ #include <limits> // ... int a = std::numeric_limits<int>::max();