explain the result fact (100) = 0!!My guess is that your loop is including 0 so that it multiplies with zero and therefore the result b...
Pointers inside classIt looks fine, except that you also need to copy s.
Read character to int without crashingYou should make the if condition part of the loop condition.
abs (built-in) function is not declared in this scope::abs is declared in <stdlib.h> (std::abs in <cstdlib>).
Read character to int without crashingIt is not scanf but what happens after it that makes the program crash.
Here is an example of how y...
This user does not accept Private Messages