Text Color

This is a discussion on Text Color within the C++ Programming forums, part of the General Programming Boards category; hey again i have run into a problem that involves text color. I only want one word in a sentese ...

  1. #1
    Registered User
    Join Date
    Aug 2003
    Posts
    17

    Text Color

    hey again
    i have run into a problem that involves text color. I only want one word in a sentese to be red, but what hapopens is that the desired word is red, as wanted, but so it the rest of the sentense. is there a function i can use like break or something that will stop the console from printing in red and make it go back to the normal output color for the rest of the sentense?

  2. #2
    C++ Developer XSquared's Avatar
    Join Date
    Jun 2002
    Location
    Ontario, Canada
    Posts
    2,718
    Naturally I didn't feel inspired enough to read all the links for you, since I already slaved away for long hours under a blistering sun pressing the search button after typing four whole words! - Quzah

    You. Fetch me my copy of the Wall Street Journal. You two, fight to the death - Stewie

  3. #3
    1479
    Join Date
    Aug 2003
    Posts
    253
    Yes. I asked this question a while ago look at my posts. Adrianxw gave me a link that helps describe it.

    this is the thread he put it on. Just click on the red here.

    Point me in the right direction
    Knowledge is power and I want it all

    -0RealityFusion0-

  4. #4
    Registered User
    Join Date
    Aug 2003
    Posts
    17
    thanks guys i should have done a search before posting

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. GUI Text Color Problem
    By justlivelife15 in forum Windows Programming
    Replies: 3
    Last Post: 06-25-2007, 05:47 AM
  2. Change text color in C
    By IndioDoido in forum C Programming
    Replies: 9
    Last Post: 04-15-2007, 05:54 AM
  3. Critique my lighting model.
    By psychopath in forum Game Programming
    Replies: 4
    Last Post: 08-12-2006, 06:23 PM
  4. Color text from windows.h?
    By Saintdog in forum C++ Programming
    Replies: 10
    Last Post: 12-03-2004, 08:20 AM
  5. Ok, Structs, I need help I am not familiar with them
    By incognito in forum C++ Programming
    Replies: 7
    Last Post: 06-29-2002, 09:45 PM

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