Font color

This is a discussion on Font color within the C++ Programming forums, part of the General Programming Boards category; please someone tell me how to do this....MSCV console programming....include header file(s)~ all i want is how to change font ...

  1. #1
    Registered User
    Join Date
    Jan 2002
    Posts
    75

    Font color

    please someone tell me how to do this....MSCV console programming....include header file(s)~ all i want is how to change font colors(yes i already searched board...nothing useful came up)
    MSVC++~

  2. #2
    Mayor of Awesometown Govtcheez's Avatar
    Join Date
    Aug 2001
    Location
    MI
    Posts
    8,825
    Then you didn't look very hard.

    http://www.cprogramming.com/boardfaq.html#various

  3. #3
    Registered User
    Join Date
    Jan 2002
    Posts
    75
    *eyes you* wtf if there is a 'posting' on it tell which one it is...but seriously you do a 'font' or a 'font color' search...and make sure its for console programming in c++ and u r only going to get one that even resembles what i need...but that one is incomplete ;P
    MSVC++~

  4. #4
    Registered User
    Join Date
    Jan 2002
    Posts
    75
    BTW



    Page Cannot Be Found


    We apologize for the inconvenience, but the page you are seeking cannot be found in this location.


    ;P
    MSVC++~

  5. #5
    Mayor of Awesometown Govtcheez's Avatar
    Join Date
    Aug 2001
    Location
    MI
    Posts
    8,825
    *eyes you back*

    Hey, just trying to help - if that link is down let the webmaster know it's time to update the FAQ.

    Search on "text color" - I found plenty of responses.

  6. #6
    Mayor of Awesometown Govtcheez's Avatar
    Join Date
    Aug 2001
    Location
    MI
    Posts
    8,825
    Oh yeah, and in the future, don't make a new thread so you can ask the exact same question again.

  7. #7
    Skunkmeister Stoned_Coder's Avatar
    Join Date
    Aug 2001
    Posts
    2,572
    Free the weed!! Class B to class C is not good enough!!
    And the FAQ is here :- http://faq.cprogramming.com/cgi-bin/smartfaq.cgi

  8. #8
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,796
    Well Supar, you're certainly not very polite to people who don't HAVE to help you. Assuming you haven't already figured it out by now here it is.
    Code:
    #include <iostream>
    #include <windows.h>
    using namespace std;  
    
    int main(void){
        HANDLE h;
    
        h = GetStdHandle(STD_OUTPUT_HANDLE); 
        SetConsoleTextAttribute(h, FOREGROUND_GREEN);
        
        cout << "Amazing green text!"<< endl;
    
        return EXIT_SUCCESS;
    }
    -Prelude
    My best code is written with the delete key.

  9. #9
    Registered User
    Join Date
    Jan 2002
    Posts
    75

    Sorry....

    I did not mean to come across as a prick...definately not intended...and yes i did search the boards cept i was searching for 'font' not 'text'...but yes thank you guys....and sorry bout the whole gay attitude...
    MSVC++~

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Critique my lighting model.
    By psychopath in forum Game Programming
    Replies: 4
    Last Post: 08-12-2006, 07:23 PM
  2. problem with my font manager
    By hannibar in forum C Programming
    Replies: 1
    Last Post: 03-07-2006, 08:03 AM
  3. char copy
    By variable in forum C Programming
    Replies: 8
    Last Post: 02-06-2005, 10:18 PM
  4. RichEdit Font Color
    By Unregistered in forum Windows Programming
    Replies: 2
    Last Post: 11-01-2003, 04:07 PM
  5. Just one Question?
    By Irish-Slasher in forum C++ Programming
    Replies: 6
    Last Post: 02-12-2002, 10:19 AM

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