Main Menu

HOME

.Net
ASP
Assembly
C
C++
Delphi
HTML
Java
JavaScript Site
MySQL
PC interface
Powershell
Perl
PHP
VBScript
Visual Basic
XML

US Job listings




   Misc

   Amazon

   Links

    


Background color change
 

 

 

Description

This changes the background behind text using the textbackground function which some compilers support

Code


#include <conio.h>

int main()
{
int color;
for(color=0;color<8;color++)
{
textbackground(color);
cprintf("This is color %d\n",color);
}
return 0;
}

Information

tested using LCC Win 32

 

 

 

 

 

Download

textbackground.txt


 




   Sponsors
 

   Software
500 Java Tips E-book
PHP editor
PERL editor
Beginning Java
Beginning Visual Basic
Learn VB.net
Learn VB 6
VB and databases
ASP image library
C++ builder programming
C++ fundamentals

   Source Code
create an xml file(C Sharp)
move a file(C Sharp)
how to call a function(php)
Browser version(ASP.net)
accept users input using input dialog box(Java)
underline text in a string(php)
Octal, hex and decimal(C++)
Creating a table in a MySQL database(PHP)

    




Copyright © 2003 by programmershelp.co.uk