Color is my c++ prog

This is a discussion on Color is my c++ prog within the C++ Programming forums, part of the General Programming Boards category; Hey!! how can I make text-program colored?? i want to have the text in green??? im using redhat with c++! ...

  1. #1
    Registered User
    Join Date
    Sep 2001
    Posts
    1

    Cool Color is my c++ prog

    Hey!!

    how can I make text-program colored??

    i want to have the text in green???

    im using redhat with c++!

    Alexander aka. Beltazore

  2. #2
    Mayor of Awesometown Govtcheez's Avatar
    Join Date
    Aug 2001
    Location
    MI
    Posts
    8,825
    It's in the FAQ.

  3. #3
    Anti-Terrorist
    Join Date
    Aug 2001
    Location
    mming, Game DevelopmentCSR >&<>&2Minimization of boolean functions, PROM,PLA design >&0>&WA, USA guitar, dogsCommercial Aviation >&>>&USAProgramming
    Posts
    742
    There is no textcolor functions in the definition of C++. At least I'm not aware of them, so this is probably either compiler or operating system specific. Try the Linux board or else the Windows board.
    I compile code with:
    Visual Studio.NET beta2

  4. #4
    Hamster without a wheel iain's Avatar
    Join Date
    Aug 2001
    Posts
    1,385
    #include <conio.h>

    textcolor(x);

    i dont recall the text colores but play around with them and youll find them out. Youmust make a call to clrscr(); after this or it will not work!

    Theis works under win but dont know about linux!
    hth
    Monday - what a way to spend a seventh of your life

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Assembly amature question: prog errors
    By geek@02 in forum Tech Board
    Replies: 1
    Last Post: 10-03-2008, 02:35 PM
  2. Getting input from another prog?
    By Badman3k in forum C Programming
    Replies: 4
    Last Post: 11-11-2004, 02:58 AM
  3. an option at the end of this prog to ask if I want to run again
    By bandito9111 in forum C++ Programming
    Replies: 2
    Last Post: 03-31-2003, 02:30 PM
  4. Try my prog...
    By Commander in forum A Brief History of Cprogramming.com
    Replies: 0
    Last Post: 05-09-2002, 08:43 AM
  5. password prog
    By ihsir in forum A Brief History of Cprogramming.com
    Replies: 10
    Last Post: 01-06-2002, 06:39 AM

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