Thread: ASCII convert to Hexadecimal value?

  1. #1
    Registered User
    Join Date
    Apr 2006

    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.


    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
    I'm guessing you want to print the hex value
    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 - Developing free software for the community.

  3. #3
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    The edge of the known universe
    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.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 4
    Last Post: 02-21-2009, 03: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, 06: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, 11:26 AM