How to convert an unsigned char array into hexstring in C ?

Discussion in 'C Programming' started by vsk, Mar 4, 2005.

  1. vsk

    vsk Guest

    Hai,

    I need to know how to convert an unsigned char array into hexstring.
    can anyone help me in this regard?.

    Thanks.
     
    vsk, Mar 4, 2005
    #1
    1. Advertisements

  2. "vsk" <> wrote in news:1109974079.330570.35820
    @o13g2000cwo.googlegroups.com:

    > I need to know how to convert an unsigned char array into hexstring.
    > can anyone help me in this regard?.


    Have you read the documentation for sprintf?

    Sinan
     
    A. Sinan Unur, Mar 4, 2005
    #2
    1. Advertisements

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. Goran
    Replies:
    3
    Views:
    14,571
    tabin
    Jun 7, 2007
  2. Steffen Fiksdal

    void*, char*, unsigned char*, signed char*

    Steffen Fiksdal, May 8, 2005, in forum: C Programming
    Replies:
    1
    Views:
    847
    Jack Klein
    May 9, 2005
  3. lovecreatesbeauty
    Replies:
    1
    Views:
    1,421
    Ian Collins
    May 9, 2006
  4. stanley
    Replies:
    13
    Views:
    1,360
    stanley
    Jun 8, 2007
  5. Ioannis Vranos
    Replies:
    11
    Views:
    1,067
    Ioannis Vranos
    Mar 28, 2008
  6. Ioannis Vranos

    Padding bits and char, unsigned char, signed char

    Ioannis Vranos, Mar 28, 2008, in forum: C Programming
    Replies:
    6
    Views:
    827
    Ben Bacarisse
    Mar 29, 2008
  7. Alex Vinokur
    Replies:
    9
    Views:
    1,097
    James Kanze
    Oct 13, 2008
  8. pozz
    Replies:
    12
    Views:
    1,053
    Tim Rentsch
    Mar 20, 2011
Loading...