i get a string from a line I'm parsing.
string notdegree= buf; returns a number but its a string
string degree= notdegree.substr(0,5); returns the part of the number i want still a string
indegree = degree/60 -- i need to be able to do this -- how do I change something from a string to a number
the following is the error i get
C:\Program Files\Microsoft Visual Studio\MyProjects\parse\parse.cpp(98) : error C2676: binary '/' : 'class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >' does not define this operator or a conversion to a type acc
eptable to the predefined operator