answersLogoWhite

0

How do you change the colour of console in c plus plus?

Updated: 8/20/2019
User Avatar

Wiki User

12y ago

Best Answer

Depends on what operating system you are using.

I would recommend ncurses, because it has versions for (almost) every operating system, and it would make porting the program easier.

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you change the colour of console in c plus plus?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is textcolor in c plus plus?

C++ does not have a generic textcolor function. That function only exists in Borland/Embarcadero versions of C++. It is used to change the colour of console text. Code that uses this function is not compliant with the C++ standard and can only be used on Borland/Embarcadero compilers. You could write your own version of the function, but unless you provide all the necessary cross-platform alternatives your code will not compile on all platforms.


What colour code in c plus plus?

0-black.2-green


What is clear in c plus plus?

clear() is an inbuilt function defined in c++ defined in conio.h. It is used for clearing the console. The systax is:clear();


What is cputs function in computer c plus plus?

Nothing.The C language only recognizes a few keywords, like "for" and "if". Most of what's in a C program ... that doesn't reference routines in the C program itself ... are library calls, and cputs() is one of those. What it does is write its argument (which should be a pointer to a character string) to the console... console put string.


What is the code to change the font of the output in c plus plus?

There is no generic code to change the typeface of the console output, nor indeed any output window. To change the typeface you must use platform-specific code. That is, the code required to change the output typeface in Windows is completely different to that of Unix-based systems.


What is used to output data in c plus plus?

You use output devices or streams, typically console screens, printers and files.


You have messenger plus and you change the colour of your name but your friends say they cant see it why?

Cuz they dont hav msn+!!!So if you want them to c it tell them to doownload msn +!


How you can store an image in C plus plus console project?

You can't embed a "real" picture into a console project, like a .JPEG or .PNG format picture. What you can do though, is convert the picture to ASCII characters and print the text to the screen.


How do you change the Borland C plus plus application icon?

Change the icon in the application's resource file, then recompile.


Why you use constreamh in c plus plus?

There is no such header in C++. You must consult the documentation provided with the file. It is most likely related to console input/output, perhaps providing enhancements to the standard I/O stream implementation.


What is the standard output device in c plus plus?

Not defined by the language, it depends on the OS/platform/context. Usually, it is the terminal(emulation) or DOS-shell or console in which the program runs.


Why the background colour of turbo c plus plus is blue?

I want my C++ program become interesting How can I change the color of background and color of font even size of font......... I will always use system("cls") to clear there screen..... so I want do C++ DOS into something we call presentation like powerpoint Haha........ Any tutorial? That all Thank you