char str[32]; str="0xFFFFFF"; DWORD hex=atoi(str);
When I run this, the atoi function only takes the 0 at the beginning of the string and not the xFFFFFF. Is there a function that can convert from a string to a hex value?




Posted 15 June 2009 - 04:06 PM
char str[32]; str="0xFFFFFF"; DWORD hex=atoi(str);
|
|
Query failed: connection to localhost:3312 failed (errno=111, msg=Connection refused).
|
