textcolor(???)

This is a discussion on textcolor(???) within the C++ Programming forums, part of the General Programming Boards category; Does anyone know all the colors available for this function, and maybe know any other function to change the spacing ...

  1. #1
    Spanky devour89's Avatar
    Join Date
    Nov 2002
    Posts
    148

    textcolor(???)

    Does anyone know all the colors available for this function, and maybe know any other function to change the spacing or size of text or is this not possible?

  2. #2
    Spanky devour89's Avatar
    Join Date
    Nov 2002
    Posts
    148
    Thanks man...

    the setw(10); does 10 stand for the amount of spaces??? or is it pixels or something. Ussually i do stuff like

    Code:
    #include <iostream>
    
    int main()
    {
     cout<<"           Same effect as setw(10)";
     return 0;
    }
    Dev C++
    Win XP/2k/98

    I DO NOT TAKE CLASSES I DONT GET HOMEWORK THIS IS NOT A HOMEWORK QUESTION!!!

    He's lean he's keen... He's the spank machine!

  3. #3
    Spanky devour89's Avatar
    Join Date
    Nov 2002
    Posts
    148
    Thanks that is a far easier way then doing what i used to do.
    Dev C++
    Win XP/2k/98

    I DO NOT TAKE CLASSES I DONT GET HOMEWORK THIS IS NOT A HOMEWORK QUESTION!!!

    He's lean he's keen... He's the spank machine!

  4. #4
    RoD
    RoD is offline
    Redundantly Redundant RoD's Avatar
    Join Date
    Sep 2002
    Location
    Missouri
    Posts
    6,331
    on the note of making txt color a bit easier, san drax has a nifty lil tool.

    You can find the header file he created and my demo program for it on my web site (www.nelie.org/steveprog/index.html) under either downloads or tutorials and code, i forget which section.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. quick question about textcolor
    By myk_raniu in forum C++ Programming
    Replies: 2
    Last Post: 12-19-2005, 02:08 PM
  2. problem about textcolor, please help!!
    By louis_mine in forum C Programming
    Replies: 7
    Last Post: 10-19-2004, 12:37 AM
  3. textcolor() fuction
    By Mach_ie in forum C Programming
    Replies: 4
    Last Post: 06-23-2004, 06:49 AM
  4. FAQ: Cout and textcolor question...
    By Laniston in forum FAQ Board
    Replies: 2
    Last Post: 12-19-2002, 10:54 AM
  5. C++ (Borland): textcolor() function
    By Unregistered in forum C++ Programming
    Replies: 0
    Last Post: 10-13-2001, 05:45 PM

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