how to set a variable to infinity in c 2b 2b

Solutions on MaxInterview for how to set a variable to infinity in c 2b 2b by the best coders in the world

showing results for - "how to set a variable to infinity in c 2b 2b"
Davion
12 Jan 2018
1#include <limits>
2
3// ...
4
5int a = std::numeric_limits<int>::max();
6
similar questions