Problem with validation function and call to it in C++ mortgage calculator
Posted on 2007-10-01
I have been trying to call the get_int function in my program, but I get an error when I comment in the function I get a bunch of errors that look like
c:\documents and settings\administrator\my documents\visual studio 2005\projects\mortgage2func\mortgage2func\mortgage2func.cpp(119) : error C2679: binary '>>' : no operator found which takes a right-hand operand of type 'std::string' (or there is no acceptable conversion)
c:\program files\microsoft visual studio 8\vc\include\istream(1137): could be 'std::basic_istream<_Elem,_Traits> &std::operator >><std::char_traits<char>>(std::basic_istream<_Elem,_Traits> &,signed char *)'
I would like some help on this issue and calling this function if possible.