Taking a decimal input and displaying its corresponding ASCII character!

This is a discussion on Taking a decimal input and displaying its corresponding ASCII character! within the C Programming forums, part of the General Programming Boards category; So i've been given this task to take a decimal input according to the following table and display its ASCII ...

  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  

  2. #2
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,434
    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.
    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: 9
    Last Post: 11-06-2011, 11:10 AM
  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, 05:19 PM
  5. HEEEELP: Letters to ASCII decimal equivalents?
    By Mazerius in forum C++ Programming
    Replies: 7
    Last Post: 10-30-2002, 08:56 AM

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