ASCII convert to Hexadecimal value?

This is a discussion on ASCII convert to Hexadecimal value? within the C Programming forums, part of the General Programming Boards category; hi all, i want to convert ASCII value to corrosponding HEXADECIMAL value. Any body plz help me...... thanks and regards. ...

  1. #1
    Registered User
    Join Date
    Apr 2006
    Posts
    1

    Lightbulb ASCII convert to Hexadecimal value?

    hi all,
    i want to convert ASCII value to corrosponding HEXADECIMAL value. Any body plz help me......

    thanks and regards.

    ash

    Mod Edit: regular text colour is sufficient thanks.
    Last edited by ashish.malviya; 04-04-2006 at 01:56 PM. Reason: color of font

  2. #2
    * Death to Visual Basic * Devil Panther's Avatar
    Join Date
    Aug 2001
    Posts
    768
    I'm guessing you want to print the hex value
    Code:
    printf("%x", 'a');
    But tell me, what does this have to do with Networking/Device Communication?
    "I don't suffer from insanity but enjoy every minute of it" - Edgar Allen Poe

    http://www.Bloodware.net - Developing free software for the community.

  3. #3
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,556
    Beats me - I moved it to C
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 4
    Last Post: 02-21-2009, 02:12 PM
  2. Convert to ASCII program almost working
    By ggraz in forum C Programming
    Replies: 8
    Last Post: 09-17-2008, 06:54 PM
  3. how to convert decimal number to ASCII code?
    By oie in forum C Programming
    Replies: 11
    Last Post: 11-03-2006, 05:19 PM
  4. hexadecimal to ascii
    By jpablo in forum C Programming
    Replies: 2
    Last Post: 04-12-2006, 05:28 PM
  5. Replies: 11
    Last Post: 03-24-2006, 10:26 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21