Hex String to Long

Discussion in 'C++' started by Ali R., Oct 22, 2003.

  1. Ali R.

    Ali R. Guest

    Is there a function in the c++ library to convert a string containing a Hex
    number to long. like atoi?

    Ali R.
     
    Ali R., Oct 22, 2003
    #1
    1. Advertising

  2. Ali R.

    red floyd Guest

    Ali R. wrote:

    > Is there a function in the c++ library to convert a string containing a Hex
    > number to long. like atoi?
    >
    > Ali R.
    >


    strtol
     
    red floyd, Oct 22, 2003
    #2
    1. Advertising

  3. Ali R.

    Ali R. Guest

    Cool Thanks

    "red floyd" <> wrote in message
    news:Xwxlb.5419$...
    > Ali R. wrote:
    >
    > > Is there a function in the c++ library to convert a string containing a

    Hex
    > > number to long. like atoi?
    > >
    > > Ali R.
    > >

    >
    > strtol
    >
    >
     
    Ali R., Oct 22, 2003
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    10
    Views:
    6,356
    Neredbojias
    Aug 19, 2005
  2. Bengt Richter
    Replies:
    6
    Views:
    505
    Juha Autero
    Aug 19, 2003
  3. jack
    Replies:
    4
    Views:
    603
  4. tim

    hex string to hex value

    tim, Nov 22, 2005, in forum: Python
    Replies:
    8
    Views:
    19,055
  5. Schraalhans Keukenmeester

    printf unsigned long long as hex

    Schraalhans Keukenmeester, Jul 1, 2007, in forum: C Programming
    Replies:
    5
    Views:
    33,206
    Army1987
    Jul 2, 2007
Loading...

Share This Page