+ 1
Why there is no place for infinite in programming?
When we divide any number by 0 it shows error, then you have to give importance to exception handling in c++ shouldn't there be just a infinite symbol inbuilt so that such errors do not arise.
2 Antworten
+ 10
You can install that feature when you make your own compiler for c++ 😉
Also, mathematically 1/0 is not infinity. It is undefined. So, technically, it is an error, which has been implemented rightly (imho) in c++
+ 2
Thankyou☺