Home   Easy-Code    Forum  Updater 
Twitter Facebook



Color using c graphics

Critics Rating:

Users Rating:

#include <stdio.h>

#include <stdlib.h>

#include <conio.h>

#include <graphics.h>

main()

{

int gd=DETECT,gm,i,c;

initgraph(&gd,&gm," ");

c=10;

for (i=3;i<=10;i++)

{

setcolor(random(i));

settextstyle(1,0,7);

outtextxy(40,40+c,"KISHOREAVGK");

delay(5000);

c+=50;

}

getch();

}

Courtesy, Source, References & Regards: Kishore AVGK

While using this site, you agree to have read and accepted our terms of use and privacy policy.
Copyright@2009-2011 by KuGuNi.com. All Rights Reserved.