How to change text colour?

This is a discussion on How to change text colour? within the C++ Programming forums, part of the General Programming Boards category; I found a little something, but it only works on windows, I was wondering if there is a way to ...

  1. #1
    Your imaginary friend
    Join Date
    Jan 2010
    Location
    Canada
    Posts
    76

    How to change text colour?

    I found a little something, but it only works on windows, I was wondering if there is a way to change texte colout that works on all platforms?
    Attached Files Attached Files

  2. #2
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,590
    If you want a degree of cross-platform support, then you need something like ncurses
    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. Detect OS version
    By linucksrox in forum Windows Programming
    Replies: 4
    Last Post: 05-18-2010, 06:47 AM
  2. Detecting Edit Control Text
    By yoonkwun in forum Windows Programming
    Replies: 2
    Last Post: 07-12-2009, 08:48 AM
  3. DirectX | Drawing text
    By gavra in forum Game Programming
    Replies: 4
    Last Post: 06-08-2009, 12:23 AM
  4. text colour
    By Matty_Alan in forum C Programming
    Replies: 6
    Last Post: 06-27-2007, 05:56 AM
  5. chaning colour of text
    By 133t 50urc3 in forum C++ Programming
    Replies: 8
    Last Post: 06-26-2007, 05:30 AM

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