: : : : the outpt screen in turbo c++ console is a black background with
: : : : white characters,i want to to change that but i have no idea.please
: : : : suggest a
: : : : remedy?
: : : :
: : :
: : : Do you know Google???
: : : Anyway, you can use the ncurses library.
: : :
: :
Try that code:
: :
: :
: : #include <conio.h>
: :
: : int main ()
: : {
: : textcolor (WHITE);
: : cprintf ("\n-- WHITE COLOR!");
: :
: : textcolor (YELLOW);
: : cprintf ("\n-- YELLOW COLOR!");
: :
: : return 0;
: : }
: : : :
:
: Thanks,well it did change the text colour but I also want to change
: the
: background color from black to say blue.
:
Well i did get a program to do just that check it out
// This will change the background
#include<windows.h>
#include<conio.h>
#include<stdio.h>
const int NotUsed = system( "color 1b" );
int main()
{
printf("Hallo");
getch();
return 0;
}