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
Disk ID(C)
Tables supported(ASP.net)
Drawing example(ASP.net)
get todays date(VB.net)
create a database(PHP)
close any app(VB)
Count words in a sentence(PHP)
active window title(VB)

    




Copyright © 2003 by programmershelp.co.uk