Color Text

This is a discussion on Color Text within the A Brief History of Cprogramming.com forums, part of the Community Boards category; 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; ...

  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
    857
    #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
    Banned maes's Avatar
    Join Date
    Aug 2001
    Posts
    744

Popular pages Recent additions subscribe to a feed

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