If this is an integer, infinity is not very infinite! You can use the defines in limits.h, for example:
INT_MAX
(For negative infinity you have INT_MIN)
FLT_MAX
and so on
If this is an integer, infinity is not very infinite! You can use the defines in limits.h, for example:
INT_MAX
(For negative infinity you have INT_MIN)
FLT_MAX
and so on