Aug 8, 2002 #1 Guest_imported New member Joined Jan 1, 1970 Messages 0 IS there a way to convert TCHAR into an int?
Aug 8, 2002 #2 fheyn Programmer Joined Mar 22, 2001 Messages 198 Location DE if it's TCHAR s[3] = "12"; int i; then it's i = atoi(s) otherwise specify your problem Upvote 0 Downvote
Aug 8, 2002 #3 Zyrenthian Programmer Joined Mar 30, 2001 Messages 1,440 Location US yes... int value; TCHAR t = 'h'; value = (int)t; or if it is a value string // tcharString is equal to 12345; _ttoi(tcharString); Matt Upvote 0 Downvote
yes... int value; TCHAR t = 'h'; value = (int)t; or if it is a value string // tcharString is equal to 12345; _ttoi(tcharString); Matt
Aug 8, 2002 Thread starter #4 Guest_imported New member Joined Jan 1, 1970 Messages 0 yep .... atoi ..... what a wonderful thing : ) Thanx guys .... Upvote 0 Downvote