plz i need to know the header file and the function that changes the color of what i cout on the screen
p.s plz send an example
10x
------------------------------
msvc++ 6.0
i need an example
and the header file and the function plz
plz i need to know the header file and the function that changes the color of what i cout on the screen
p.s plz send an example
10x
------------------------------
msvc++ 6.0
Last edited by aboulchouch; 06-05-2002 at 10:01 AM.
oh boy... you need to learn how to post.
First of all... always tell what compiler your using...
and dont use polls until you know what they are!
That will work with Dev-C++ wich im guessin you have.Code:#include <iostream.h> #include <conio.c> int main() { textcolor ( BLUE ); cout << "This will be blue" cin.get(); return 0; }
Also use the search.
What is C++?
nice poll ¤%&%!!!!????
I think you have some mistakes in your code:
** #include <conio.c>
What is conio.c ??
And here in your code you don't have a semicolon:
** cout << "This will be blue"
And also on Borland C++ 3.1 it is not working.. the output from cout is white..
btw. how I can use words of someone who writes it before me?
(I can use ^C and then ^V in windows clipboard, but I think that it's some another way..
Read the post of Vicious again:Originally posted by mazo
And also on Borland C++ 3.1 it is not working.. the output from cout is white..
Didn't he just tell you it worked with Dev-C++ ???Originally posted by Vicious
That will work with Dev-C++ wich im guessin you have.