Thread: Symbols?

  1. #1
    Hack the Planet!
    Join Date
    Mar 2005


    How do you make symbols (such as ) to display in a program? I tried adding it into the code, but it s hows up a small upsidedown L. Is there some code you need to put instead of the symbol to make it appear?

  2. #2
    Registered User
    Join Date
    Jan 2003
    This is entirely system dependant. The method approved by the holy standard is std::cout << "(C)"; Going beyond that is a topic better sutied to system specific boards. these are the symbols available on a PC in console mode, usually, mileage may vary, void in some states.

  3. #3
    People Love Me
    Join Date
    Jan 2003
    for(int i=127;i<256;i++){
         cout << char(i);
    If you don't find it in there, then just print out "(C)".

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Linux Putting my children to sleep with futex!?
    By Abs in forum Linux Programming
    Replies: 18
    Last Post: 02-12-2009, 06:43 PM
  2. Replies: 7
    Last Post: 02-02-2009, 07:27 AM
  3. Trouble with Windows/DirectX programming
    By bobbelPoP in forum Windows Programming
    Replies: 16
    Last Post: 07-08-2008, 02:27 AM
  4. Strange error?
    By MrLucky in forum C++ Programming
    Replies: 5
    Last Post: 02-04-2006, 03:01 PM
  5. symbols, no symbols, symbols ...
    By pavmarc in forum Linux Programming
    Replies: 0
    Last Post: 08-23-2005, 12:36 PM