Thread: Trouble Printing ASCII Character

  1. #1
    Student drdroid's Avatar
    Join Date
    Feb 2002
    Montreal, Quebec

    Question Trouble Printing ASCII Character

    I'm using Borland C++ V4.52, on either Windows 98 or NT, which ever will be in my advantage. I tried to use an ASCII character in my program but it came out as a letter, the ASCII code is ALT-234. Can anyone help me?

  2. #2
    Registered User
    Join Date
    Oct 2001
    Is this how you tried to print it?
    cout << (char) 234 << endl;

    Or this?
    char a = 234;
    cout << a << endl;

  3. #3
    Just because ygfperson's Avatar
    Join Date
    Jan 2002
    the omega symbol?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. decimal ascII character
    By byfreak in forum C++ Programming
    Replies: 3
    Last Post: 05-24-2008, 10:36 PM
  2. Office access in C/C++ NOT VC++!! :)
    By skawky in forum C++ Programming
    Replies: 1
    Last Post: 05-26-2005, 01:43 PM
  3. syntax error when defining vectors
    By starkhorn in forum C++ Programming
    Replies: 5
    Last Post: 09-22-2004, 12:46 PM
  4. Printing a Character from Binary
    By SavesTheDay in forum C Programming
    Replies: 6
    Last Post: 02-19-2002, 02:35 PM
  5. Printing characters not in the ASCII table
    By Unregistered in forum C Programming
    Replies: 2
    Last Post: 01-21-2002, 01:47 PM