Thread: Taking a decimal input and displaying its corresponding ASCII character!

  1. #1
    Registered User
    Join Date
    Nov 2011
    Posts
    1

    Unhappy Taking a decimal input and displaying its corresponding ASCII character!

    So i've been given this task to take a decimal input according to the following table and display its ASCII character.
    Please help!
    Attached Images Attached Images Taking a decimal input and displaying its corresponding ASCII character!-acsii-table-jpg 

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    Write a small program, and call say
    putchar(65);
    and see what happens.
    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: 9
    Last Post: 11-06-2011, 12:10 PM
  2. decimal ascII character
    By byfreak in forum C++ Programming
    Replies: 3
    Last Post: 05-24-2008, 10:36 PM
  3. decimal ascII character
    By byfreak in forum C Programming
    Replies: 2
    Last Post: 05-24-2008, 06:37 PM
  4. how to convert decimal number to ASCII code?
    By oie in forum C Programming
    Replies: 11
    Last Post: 11-03-2006, 06:19 PM
  5. HEEEELP: Letters to ASCII decimal equivalents?
    By Mazerius in forum C++ Programming
    Replies: 7
    Last Post: 10-30-2002, 09:56 AM