|
-
Dec 3rd, 2002, 02:15 PM
#1
Thread Starter
Hyperactive Member
Converting Strings
I have a variable called
tmp this variable is
char *tmp;
now i have some text and numbers in a string say
"hello 203"
i parse the string so that 203 is now in tmp..
but i now need to convert this tmp variable from a string to a
'unsignged short' how can i do this ?
Last edited by Azz00; Dec 3rd, 2002 at 02:19 PM.
www.azzmedia.co.uk
-
Dec 3rd, 2002, 02:28 PM
#2
Monday Morning Lunatic
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Dec 5th, 2002, 11:29 PM
#3
Guru
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|