#include<conio.h> #include<stdio.h> #include<stdlib.h> #include<dos.h> #include<graphics.h> main() {int m,d =DETECT,a=25,b=600,n=1, q=254,s=300,z,cpp,cdd,j=316,k=318, t,o,g,y,h=24,u=612,op=1,po=90,c1=24, mp=26,c2=460,c3=243,c4=242,c5=305, c6=225,c7=305,c8=255,c9=23,c10=618, c11=319,c12=320; initgraph(&d,&m,"c:\\tc\\bgi"); /*int a=50,b=110,c=110,e=130,f=130,g=155,h=155,i=155,j=50,k=30,l=30,n=10,o=10,p=10,q=14,r=14, s=10,t=45,u=14,v=61,w=76,x=95,y=110,z=125,ab=155,ac=150,ad=15,ae=130,af=78,ag=81;*/ //int x=15,y=620; int a1,a2,a3,a4,a5,a6,a7,a8,a9,samad; cleardevice(); setcolor(RED); for(a2=24;a2<=610;a2++) {line(a2,6,a2,24);} for(a2=6;a2<=455;a2++) {line(6,a2,25,a2);} for(a2=611;a2<=633;a2++) {line(a2,6,a2,455);} for(a2=6;a2<=633;a2++) {line(a2,456,a2,475);} setcolor(WHITE); for(a2=30;a2<=610;a2+=35) {settextstyle(1,0,6); outtextxy(a2,438,"*");} for(a2=30;a2<=610;a2+=35) {outtextxy(a2,-12,"*");} for(a2=15;a2<=440;a2+=35) {outtextxy(6,a2,"*");} for(a2=10;a2<=440;a2+=35) {outtextxy(615,a2,"*");} outtextxy(6,-10,"*"); outtextxy(615,-10,"*"); setcolor(YELLOW); rectangle(4,4,635,475); rectangle(25,25,610,455); settextstyle(1,0,1); setcolor(GREEN); for(a=27;a<=608;a++) {setcolor(9); line(a,27,a,453);} a=318; b=317; zuhaib: setcolor(0); line(a,27,a,453); a--; line(b,27,b,453); b++; delay(50); if(a==26) {goto best;} goto zuhaib; best: ali: settextstyle(1,0,9); setcolor(n); outtextxy(75,n,"WEL COME"); delay(60); setcolor(0); outtextxy(75,n,"WEL COME"); setcolor(n); n++; if(n==75) {setcolor(GREEN); outtextxy(75,n,"WEL COME"); goto succ;} goto ali; succ: setcolor(q); outtextxy(q,170,"TO THIS"); delay(50); setcolor(0); outtextxy(q,170,"TO THIS"); q--; if(q==140) {setcolor(YELLOW); outtextxy(q,170,"TO THIS"); goto axis;} goto succ; axis: setcolor(s); outtextxy(100,s,"PROGRAM."); delay(60); setcolor(0); outtextxy(100,s,"PROGRAM."); s--; if(s==260) {setcolor(s); outtextxy(100,s,"PROGRAM."); goto sajjad;} goto axis; //a=50; //b=600; sajjad: setcolor(YELLOW); line(a,27,a,453); a++; line(b,27,b,453); b--; delay(50); if(a==318) {goto ab;} goto sajjad; ab: j=317; k=318; tariq: setcolor(0); line(j,27,j,453); j--; line(k,27,k,453); k++; delay(60); if(j==26) {goto jee;} goto tariq; jee: t=10; ahsan: setcolor(t); settextstyle(8,0,6.5); outtextxy(70,t,"INTRODUCTION TO"); delay(60); setcolor(0); outtextxy(70,t,"INTRODUCTION TO"); t++; if(t==140) {setcolor(RED); outtextxy(70,t,"INTRODUCTION TO"); goto op;} goto ahsan; op: o=300; babloo: setcolor(o); outtextxy(115,o,"PROGRAMMER..."); delay(50); setcolor(0); outtextxy(115,o,"PROGRAMMER..."); o--; if(o==230) {setcolor(YELLOW); outtextxy(115,o,"PROGRAMMER..."); goto introduction;} goto babloo; introduction: cleardevice(); setcolor(BROWN); for(g=1;g<=638;g++) {line(g,1,g,22); line(g,460,g,480);} for(g=12;g<=475;g++) {line(1,g,22,g); line(615,g,638,g);} settextstyle(3,0,6); setcolor(BLUE); for(o=1;o<=630;o+=29) {outtextxy(o,-17,"*"); outtextxy(o,441,"*");} for(g=1;g<=435;g=g+29) {outtextxy(1,g,"*"); outtextxy(620,g,"*");} setcolor(10); yes: line(h,24,h,458); h++; line(u,24,u,458); delay(50); u--; if(h==319) {goto aili;} goto yes; aili: int s1=318,s2=318,s3=20,s4=435; khus: setcolor(0); line(s2,24,s2,458); s1--; s2++; delay(65); setcolor(0); line(s1,24,s1,458); if(s1==23) {goto no;} goto khus; no: settextstyle(7,0,2); setcolor(s3); outtextxy(150,s3,"THIS PROGRAM IS MADE BY: "); delay(50); setcolor(0); outtextxy(150,s3,"THIS PROGRAM IS MADE BY: "); setcolor(s4); outtextxy(155,s4," ZAHID HUSSAIN INDHER."); delay(60); setcolor(0); outtextxy(155,s4," ZAHID HUSSAIN INDHER."); s3++; s4--; if(s4==24) {setcolor(10); outtextxy(150,s3,"THIS PROGRAM IS MADE BY: "); setcolor(12); outtextxy(155,s4," ZAHID HUSSAIN INDHER."); goto yy;} goto no; yy: int s5=24,s6=613; tt: setcolor(s5); line(s5,24,s5,458); line(s6,24,s6,458); delay(90); s5++; s6--; if(s5==319) {goto oo;} goto tt; oo: int s7=319,s8=320; pp: setcolor(0); line(s7,24,s7,458); line(s8,24,s8,458); //delay(100); s7--; s8++; if(s7==24) {goto zz;} goto pp; zz: for(mp=24;mp<=615;mp++) {setcolor(12); line(mp,24,mp,458);} yu: //delay(80); settextstyle(7,0,3); setcolor(op); outtextxy(80,60,"Name : Zahid Hussain."); setcolor(po); outtextxy(80,110,"F/Name : Ali sher."); setcolor(op); outtextxy(80,160,"Caste : Indher."); setcolor(po); outtextxy(80,210,"Address : Muhala Gharib Abad Pano Akil:"); setcolor(op); outtextxy(80,270,"Ph No : 0300-3137743."); setcolor(po); outtextxy(80,330,"E-mail : zindher@yahoo.com"); op++; po--; delay(350); if(op==10) {sleep(5); goto close;} goto yu; close: setcolor(13); line(24,c1,615,c1); line(24,c2,615,c2); c1++; c2--; delay(90); if(c1==250) {goto he;} goto close; he: setcolor(YELLOW); line(24,c3,618,c3); line(24,c4,618,c4); c3++; c4--; delay(50); if(c4==23) {goto man;} goto he; man: setcolor(GREEN); rectangle(c5,c6,c7,c8); c5-=1; c6-=1; c7+=1; c8+=1; delay(70); if(c7==506) {goto gm;} goto man; gm: setcolor(YELLOW); settextstyle(1,0,5); outtextxy(150,35,"SPECIAL THANKS:"); setcolor(RED); outtextxy(160,110,"SIR ALI MANGI"); setcolor(12); outtextxy(115,180,"SIR QAMAR-UL-DIN"); setcolor(0); outtextxy(140,250,"AND ALL FRIENDS."); sleep(10); upest: setcolor(RED); line(c9,23,c9,462); line(c10,23,c10,462); c9++; c10--; delay(70); if(c9==319) {goto nayo;} goto upest; nayo: setcolor(0); line(c11,22,c11,462); line(c12,22,c12,462); c11--; c12++; delay(70); if(c11==22) {goto app;} goto nayo; app: cleardevice(); setcolor(WHITE); rectangle(400,300,630,470); line(435,230,400,300); line(435,230,465,300); line(435,230,630,230); line(441,243,630,243); line(448,257,630,257); line(454,271,630,271); line(459,286,630,286); line(630,230,630,300); line(465,300,465,470); line(465,300,425,315); line(425,449,465,468); line(425,315,425,449); line(435,370,435,385); line(436,370,436,385); line(425,378,435,378); line(425,379,435,379); line(462,230,462,242); line(490,230,490,242); line(522,230,522,242); line(552,230,552,242); line(582,230,582,242); line(610,230,610,242); line(470,244,470,256); line(502,244,502,256); line(530,244,530,256); line(558,244,558,256); line(586,244,586,256); line(614,244,614,256); line(476,258,476,270); line(506,258,506,270); line(536,258,536,270); line(565,258,565,270); line(598,258,598,270); line(483,272,483,286); line(514,272,514,286); line(545,272,545,286); line(575,272,575,286); line(605,272,605,286); line(490,286,490,300); line(520,286,520,300); line(550,286,550,300); line(580,286,580,300); line(607,286,607,300); rectangle(520,345,590,415); line(520,380,590,380); line(555,345,555,415); circle(431,280,12); setcolor(MAGENTA); for(a1=463;a1<=489;a1++) {line(a1,231,a1,242);} for(a1=491;a1<=521;a1++) {line(a1,231,a1,242);} for(a1=523;a1<=551;a1++) {line(a1,231,a1,242);} for(a1=553;a1<=581;a1++) {line(a1,231,a1,242);} for(a1=583;a1<=609;a1++) {line(a1,231,a1,242);} for(a1=611;a1<=629;a1++) {line(a1,231,a1,242);} for(a1=471;a1<=501;a1++) {line(a1,244,a1,256);} for(a1=503;a1<=529;a1++) {line(a1,244,a1,256);} for(a1=531;a1<=557;a1++) {line(a1,244,a1,256);} for(a1=559;a1<=585;a1++) {line(a1,244,a1,256);} for(a1=587;a1<=613;a1++) {line(a1,244,a1,256);} for(a1=615;a1<=629;a1++) {line(a1,244,a1,256);} for(a1=477;a1<=505;a1++) {line(a1,258,a1,270);} for(a1=477;a1<=505;a1++) {line(a1,258,a1,270);} for(a1=477;a1<=505;a1++) {line(a1,258,a1,270);} for(a1=507;a1<=535;a1++) {line(a1,258,a1,270);} for(a1=537;a1<=564;a1++) { line(a1,258,a1,270);} for(a1=566;a1<=597;a1++) { line(a1,258,a1,270);} for(a1=599;a1<=629;a1++) { line(a1,258,a1,270);} for(a1=484;a1<=513;a1++) { line(a1,272,a1,285);} for(a1=515;a1<=544;a1++) { line(a1,272,a1,285);} for(a1=546;a1<=574;a1++) {line(a1,272,a1,285);} for(a1=576;a1<=604;a1++) {line(a1,272,a1,285);} for(a1=606;a1<=629;a1++) {line(a1,272,a1,285);} for(a1=576;a1<=604;a1++) {line(a1,272,a1,285);} for(a1=491;a1<=519;a1++) {line(a1,287,a1,299);} for(a1=521;a1<=549;a1++) {line(a1,287,a1,299);} for(a1=551;a1<=579;a1++) {line(a1,287,a1,299);} for(a1=581;a1<=606;a1++) {line(a1,287,a1,299);} for(a1=608;a1<=629;a1++) {line(a1,287,a1,299);} line(437,231,461,231); line(437,232,461,232); line(437,233,461,233); line(437,234,461,234); line(438,235,461,235); line(439,236,461,236); line(439,237,461,237); line(439,238,461,238); line(440,239,461,239); line(440,240,461,240); line(441,241,461,241); line(441,242,461,242); line(441,244,469,244); line(442,245,469,245); line(443,246,469,246); line(443,247,469,247); line(443,248,469,248); line(444,249,469,249); line(445,250,469,250); line(445,251,469,251); line(445,252,469,252); line(446,253,469,253); line(446,254,469,254); line(447,255,469,255); line(447,256,469,256); line(448,258,475,258); line(448,259,475,259); line(449,260,475,260); line(449,261,475,261); line(450,262,475,262); line(450,263,475,263); line(451,264,475,264); line(451,265,475,265); line(451,266,475,266); line(452,267,475,267); line(452,268,475,268); line(453,269,475,269); line(453,270,475,270); line(454,272,482,272); line(454,273,482,273); line(455,274,482,274); line(455,275,482,275); line(456,276,482,276); line(456,277,482,277); line(457,278,482,278); line(457,279,482,279); line(457,280,482,280); line(458,281,482,281); line(458,282,482,282); line(459,283,482,283); line(459,284,482,284); line(460,285,482,285); line(461,287,489,287); line(461,288,489,288); line(461,289,489,289); line(461,290,489,290); line(462,291,489,291); line(462,292,489,292); line(462,293,489,293); line(464,294,489,294); line(464,295,489,295); line(464,296,489,296); line(465,297,489,297); line(465,298,489,298); line(466,299,489,299); setcolor(WHITE); line(435,230,465,300); setcolor(9); line(521,346,554,346); line(521,347,554,347); line(521,348,554,348); line(521,349,554,349); line(521,350,554,350); line(521,351,554,351); line(521,352,554,352); line(521,353,554,353); line(521,354,554,354); line(521,355,554,355); line(521,356,554,356); line(521,357,554,357); line(521,358,554,358); line(521,359,554,359); line(521,360,554,360); line(521,361,554,361); line(521,362,554,362); line(521,363,554,363); line(521,364,554,364); line(521,365,554,365); line(521,366,554,366); line(521,367,554,367); line(521,368,554,368); line(521,369,554,369); line(521,370,554,370); line(521,371,554,371); line(521,372,554,372); line(521,373,554,373); line(521,374,554,374); line(521,375,554,375); line(521,376,554,376); line(521,377,554,377); line(521,378,554,378); line(521,379,554,379); setcolor(13); line(556,346,589,346); line(556,347,589,347); line(556,348,589,348); line(556,349,589,349); line(556,350,589,350); line(556,351,589,351); line(556,352,589,352); line(556,353,589,353); line(556,354,589,354); line(556,355,589,355); line(556,356,589,356); line(556,357,589,357); line(556,358,589,358); line(556,359,589,359); line(556,360,589,360); line(556,361,589,361); line(556,362,589,362); line(556,363,589,363); line(556,364,589,364); line(556,365,589,365); line(556,366,589,366); line(556,367,589,367); line(556,368,589,368); line(556,369,589,369); line(556,370,589,370); line(556,371,589,371); line(556,372,589,372); line(556,373,589,373); line(556,374,589,374); line(556,375,589,375); line(556,376,589,376); line(556,377,589,377); line(556,378,589,378); line(556,379,589,379); line(521,381,554,381); line(521,382,554,382); line(521,383,554,383); line(521,384,554,384); line(521,385,554,385); line(521,386,554,386); line(521,387,554,387); line(521,388,554,388); line(521,389,554,389); line(521,390,554,390); line(521,391,554,391); line(521,392,554,392); line(521,393,554,393); line(521,394,554,394); line(521,395,554,395); line(521,396,554,396); line(521,397,554,397); line(521,398,554,398); line(521,399,554,399); line(521,400,554,400); line(521,401,554,401); line(521,402,554,402); line(521,403,554,403); line(521,404,554,404); line(521,405,554,405); line(521,406,554,406); line(521,407,554,407); line(521,408,554,408); line(521,409,554,409); line(521,410,554,410); line(521,411,554,411); line(521,412,554,412); line(521,413,554,413); line(521,414,554,414); setcolor(26); line(556,414,589,414); line(556,413,589,413); line(556,412,589,412); line(556,411,589,411); line(556,410,589,410); line(556,409,589,409); line(556,408,589,408); line(556,407,589,407); line(556,406,589,406); line(556,405,589,405); line(556,404,589,404); line(556,403,589,403); line(556,402,589,402); line(556,401,589,401); line(556,400,589,400); line(556,399,589,399); line(556,398,589,398); line(556,397,589,397); line(556,396,589,396); line(556,395,589,395); line(556,394,589,394); line(556,393,589,393); line(556,392,589,392); line(556,391,589,391); line(556,390,589,390); line(556,389,589,389); line(556,388,589,388); line(556,387,589,387); line(556,386,589,386); line(556,385,589,385); line(556,384,589,384); line(556,383,589,383); line(556,382,589,382); line(556,381,589,381); setcolor(7); int c13,c14=10,c15=10,c16=-5,c17=-5; for(c13=1;c13<=399;c13++) {line(c13,460,c13,500);} int ab=40,ac=92,ad=108, ae=128,af=126,ag=24,ah=1,ai=3, aj=30,ak=45,al=58,am=75,an=90, ao=104,ap=10,aq=66,ar=23,as=120, at=125,au=116,av=112,aw=117, ax=113,ay=4,az=14,ba=18,bb=-5,bc=-16,bd=-4; laloo: setcolor(YELLOW); line(ab,390,ac,390); line(ab,392,ac,392); line(ac,390,ad,406); line(ac,392,ad,408); line(ad,406,ae,406); line(ad,408,af,408); line(ae,406,ae,442); line(af,408,af,440); line(ab,390,ag,406); line(ab,390,ag,406); line(ab,392,ag,408); line(ah,406,ag,406); line(ai,408,ag,408); line(ah,406,ah,443); line(ai,408,ai,441); line(ah,443,aj,443); line(ai,441,aj,441); circle(ak,445,14); circle(ak,445,7); line(al,442,am,442); line(al,444,am,444); circle(an,444,14); circle(an,444,7); line(ao,443,ae,443); line(ao,441,af,441); line(ap,408,ad,408); line(aq,390,aq,408); line(aq,390,aq,442); settextstyle(0,0,0); outtextxy(ar,419,"LIANA CAR"); line(af,434,as,440); line(at,431,au,440); line(at,427,av,440); line(at,414,as,409); line(at,417,aw,409); line(at,421,ax,409); line(ap,408,ay,414); line(az,408,ay,418); line(ba,408,ay,422); line(ay,434,ap,440); line(ay,430,az,440); line(ay,426,ba,440); circle(bb,24,24); circle(bd,24,24); outtextxy(bc,22,"SUN"); delay(40); setcolor(0); line(ab,390,ac,390); line(ab,392,ac,392); line(ac,390,ad,406); line(ac,392,ad,408); line(ad,406,ae,406); line(ad,408,af,408); line(ae,406,ae,442); line(af,408,af,440); line(ab,390,ag,406); line(ab,392,ag,408); line(ah,406,ag,406); line(ai,408,ag,408); line(ah,406,ah,443); line(ai,408,ai,441); circle(ak,445,14); circle(ak,445,7); line(al,442,am,442); line(al,444,am,444); circle(an,444,14); circle(an,444,7); line(ao,443,ae,443); line(aq,390,aq,408); line(aq,390,aq,442); outtextxy(ar,419,"LIANA CAR"); line(af,434,as,440); line(at,431,au,440); line(at,427,av,440); line(at,414,as,409); line(at,417,aw,409); line(at,421,ax,409); line(ap,408,ay,414); line(az,408,ay,418); line(ba,408,ay,422); line(ay,434,ap,440); line(ay,430,az,440); line(ay,426,ba,440); circle(bb,24,24); circle(bd,24,24); outtextxy(bc,22,"SUN"); ab++,ac++,ad++,ae++, af++,ag++,ah++,ai++, aj++,ak++,al++,am++, an++,ao++,ap++,aq++, ar++,as++,at++,au++, av++,aw++,ax++,ay++, az++,ba++,bb++,bc++; bd++; if(ab==310) { getch(); exit(0);} goto laloo; getch(); }
No comments:
Post a Comment