Search & Find out

Thursday, November 26, 2009

Text & Background Colour

Enter no.s to change text & Background colour... 



#include "stdio.h"

#include "conio.h"

int main(void)
{
   int n,m;
   clrscr();

   printf("Enter no.s for textcolor & background\n");
   scanf("%d %d",&n,&m);
   window(10,10,40,11);

   textcolor(n);
   textbackground(m);
  cprintf("See this colours\n");
    getch();
   return 0;
}


Download the executable (.exe)  file for this program..
download

0 comments:

Post a Comment

 

My Blog List

Term of Use