This question is a bit basic, but how do I check the number of digits in an integer?
I need to check if an integer P is between 100 and 0 without doing an if condition simliar to (P>9)&&(P<100)?
Something like P%100==0? (where % is mod)
Thanks
@Theo Buehler: A part of a C++ program to building a wavefront planner for a course in robotics.
– R.J. Apr 23 '11 at 06:52