Post by kathyHow to determine if the CString and std::string is a number and how to
convert it to number?
See these messages:
http://groups-beta.google.com/group/microsoft.public.vc.mfc/msg/298e6b7793112350
http://groups-beta.google.com/group/microsoft.public.vc.mfc/msg/5e343eb13567cb09
The first message shows how to use strtol as an error-checking atoi, but if
you don't need to perform range verification, it's simple to modify it. The
second message talks about sign issues when using the unsigned strtox
functions. For floating point, see this message:
http://groups.google.com/group/microsoft.public.vc.mfc/msg/76f24e6d75d82f77
--
Doug Harrison
Visual C++ MVP