Thread: textcolor(???)

  1. #1

    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
    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
    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
    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, 01:08 PM
  2. problem about textcolor, please help!!
    By louis_mine in forum C Programming
    Replies: 7
    Last Post: 10-18-2004, 11:37 PM
  3. textcolor() fuction
    By Mach_ie in forum C Programming
    Replies: 4
    Last Post: 06-23-2004, 05:49 AM
  4. FAQ: Cout and textcolor question...
    By Laniston in forum FAQ Board
    Replies: 2
    Last Post: 12-19-2002, 09:54 AM
  5. C++ (Borland): textcolor() function
    By Unregistered in forum C++ Programming
    Replies: 0
    Last Post: 10-13-2001, 04:45 PM