Results 1 to 3 of 3

Thread: Converting Strings

Threaded View

  1. #1

    Thread Starter
    Hyperactive Member Azz00's Avatar
    Join Date
    Sep 2001
    Location
    Scotland
    Posts
    457

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width