DOS Characters

This is a discussion on DOS Characters within the C++ Programming forums, part of the General Programming Boards category; I've been messing around on C++ and figgered out how to type a little happy face (ctrl+a or alt+1) but ...

  1. #1
    Unregistered
    Guest

    Question DOS Characters

    I've been messing around on C++ and figgered out how to type a little happy face (ctrl+a or alt+1) but I cant figure out how to hard code my prgram to output this symbol with any certainty. (Seems like its a DOS only char... cant write it in windows.) Is there an ASCII code for this or what?

  2. #2
    Unregistered
    Guest
    Oh yea, and my email is OtakuNataku@aol.com, email the answer please...

  3. #3
    Perverted unanimous's Avatar
    Join Date
    Oct 2001
    Posts
    336

    Post Happy Face

    Have You Tried:


    Code:
    #include <iostream.h>
    
    void main()
    {
      cout << char(1);
    }
    Give me a bad reputation!!!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. how many old school DOS programmers are left?
    By Waldo2k2 in forum A Brief History of Cprogramming.com
    Replies: 23
    Last Post: 02-01-2003, 05:14 PM
  2. File systems?? (Winxp -> DOS)
    By Shadow in forum Tech Board
    Replies: 4
    Last Post: 01-06-2003, 09:08 PM
  3. printing non-ASCII characters (in unicode)
    By dbaryl in forum C Programming
    Replies: 1
    Last Post: 10-25-2002, 02:00 PM
  4. extract characters to '.'
    By VanJay011379 in forum C++ Programming
    Replies: 5
    Last Post: 07-30-2002, 12:32 AM
  5. Crazy Characters?!
    By Unregistered in forum C Programming
    Replies: 2
    Last Post: 01-22-2002, 02:02 PM

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