1.

Solve : hello world colors C++?

Answer»

hi everyone. i just got dev C++. a verry good compiler.
i have created the classic "hello world" prog.
what i WANT to do is to set the TEXT/bg colors.

i read that the code is:

text(COLOR);
textbackground(color);

or something.
please tell me the correct SYNTAX and exactly what line to put it on in the old hello world:

#include

main()
{
for(;
{
cout << "Hello World! ";
}}

please help.system ("color 2e");

i THINK 2 is the background and e is txt color

just google system ("color")



Discussion

No Comment Found