#include "graphics.h" #include "conio.h" #include "dos.h" void main() { int gdriver=DETECT,gmode,i=0,j=0; initgraph(&gdriver,&gmode,”c:\turboc3\bgi”); for(i;i<420;++i) { line(0,245,650,245); line(0+i,200,210+i,200); line(50+i,200,70+i,170); line(70+i,170,140+i,170); line(140+i,170,160+i,200); line(85+i,170,85+i,200); line(125+i,170,125+i,200); line(0+i,200,0+i,230); line(210+i,200,210+i,230); line(0+i,230,50+i,230); circle(65+i,230,15); line(80+i,230,130+i,230); circle(145+i,230,15); line(210+i,230,160+i,230); pieslice(65+i,230,359-j,360-j,15); pieslice(65+i,230,179-j,180-j,15); pieslice(65+i,230,89-j,90-j,15); pieslice(65+i,230,269-j,270-j,15); pieslice(145+i,230,359-j,360-j,15); pieslice(145+i,230,179-j,180-j,15); pieslice(145+i,230,89-j,90-j,15); pieslice(145+i,230,269-j,270-j,15); if(j==179) j=0; ++j; delay(30); cleardevice(); } closegraph(); }
Tuesday, 28 June 2016
Pages
Popular Posts
-
What Is A Motherboard? What Are The Different Components Of A Motherboard? Image: Wikipedia Short Bytes: A motherboard acts as a pl...
-
The Samsung Galaxy S5's fingerprint reader security vulnerabilities were well documented over a year ago. But if you were hoping t...
-
How To Enable GodMode In Windows and Its Complete Features What is GodMode? Windows GodMode is an old trick, but I thought it’d be ...
-
#include<stdio.h> #include<conio.h> int fact(int); void main() { int num,f; clrscr(); printf("\nEnter a numbe...
-
Run Windows 98 And Linux In Your Web Browser, Thanks To JavaScript And NodeJS Short Bytes: A coder, known as Fabian on GitHub, ...
-
Command Prompt (Windows) Find your serial number by typing a command into Windows. In Windows, search for and open CMD.EXE . A co...
-
Looking for the right click keyboard command ? It’s not often you’re left without a mouse, a trackball, or a touch pad, but there are...
-
#include<stdio.h> #include<conio.h> void main() { int a,f=1,i; clrscr(); printf("Factorial i : "); ...
-
Hub vs Switch – which one is better? Which one should be used for faster communication? Which one is more secure? Well, we answer a...
-
Pepsi vs. Coke, Edison vs. Tesla, Star Wars vs. Star Trek, history is filled with famous rivalries, but few have matched the intensity and...
Recent Posts
Text Widget
Pages
Powered by Blogger.
Text Widget
About Me
Copyright ©
NTech | Powered by Blogger
Design by Flythemes | Blogger Theme by NewBloggerThemes.com
0 comments:
Post a Comment