Jump to content

  • Log In with Google      Sign In   
  • Create Account


#Actualsuperman3275

Posted 01 December 2012 - 12:29 PM

Sorry! I got std::to_int() mixed up with std::to_string! Please forgive me :)!

For all intensive purposes, std::to_int doesn't exist and please disregard my old comment.

#1superman3275

Posted 01 December 2012 - 10:56 AM

Well, if you use:

int ParsedNumber = std::to_int(StringThatNeedsParsing);

It's pretty easy. You should probably look into text parsing, however. It is very helpful, and this only works for Strings that contain *only* a number and nothing else.

PARTNERS