question for any C++ progammers

David Sinck sinck@ugive.com
Wed, 16 Aug 2000 08:37:03 -0700 (MST)


\_ I am pretty new to C++, compiling, etc., I really want to learn this 
\_ stuff...  I am trying to figure out how to validate input from a user to 
\_ make it accept only positive numeric values.  

Cheat.  Use implicit type conversion or something.  Fall back to
sprintf/sscanf if you need to.  YMMV, C++ has been a long time back
now. 

Sorry, replace "Cheat" with "use existing technology as it was meant
to be used."

David