Thread: Color Text

  1. #1
    Unregistered
    Guest

    Angry Color Text

    How do u do color text in Microsoft C++ 6.0.

    #include<iostream.h>

    main()
    {
    cout<<"This text is red...The backround is blue..."<<endl;
    return 0;
    }

    plz input the right code thanks.

  2. #2
    A Banana Yoshi's Avatar
    Join Date
    Oct 2001
    Posts
    859
    #include<conio.h>

    {
    textcolor(BLUE);
    textbackground(RED);
    cout << "This is blue and bkgd is RED!!";
    }
    Yoshi

  3. #3
    Unregistered
    Guest

    Talking more info

    i tried it with your code and it didnt work. i am useing microsoft visual 6.0.

  4. #4

Popular pages Recent additions subscribe to a feed