I'm trying to convert std::string to a Uint16 and I'm having problems... Here's what I'm doing...
Code:
std::string str = "111111111";
Uint16 myInt = atoi(str.c_str()); // myInt becomes 27591 !!
Am I mixing up Uints & ints...strings & CStrings?? I'm sooo confused....