Map of India using Computer Graphics

in #programming6 years ago

india.jpgHello Guys

I am working as Head Computer Application Department in Gulzar Group of Institutes Khanna Ludhiana Punjab India

Following is the code in Computer Graphics using C Language for the development of Map of my Country

It's under process

Hope you all like the code if you love programming

Also i am sending the link of my blog to all of you

#include<stdio.h>
#include<conio.h>
#include<graphics.h>
void main()
{
int gd=DETECT,gm;
int jk[]={208,24,208,15,216,9,222,9,226,5,236,3,244,6,247,4,253,12,267,22,268,27,281,34,292,27,303,26,312,30,319,35,315,48,304,60,298,61,298,72,303,73,304,78,307,83,298,89,293,84,291,86,284,84,277,78,273,80,268,75,259,74,251,79,250,85,245,87,237,84,233,78,226,77,221,68,219,48,229,39,225,36,223,30,214,24,209,24,208,24};
int him[]={245,87,256,102,265,114,276,121,280,119,280,109,284,107,293,106,294,99,294,91,291,86,284,84,277,78,273,80,268,75,259,74,251,79,250,85,245,87};
int pb[]={245,87,256,102,265,114,261,122,254,127,254,131,248,128,241,132,237,128,222,126,217,123,222,119,223,113,229,109,233,107,232,104,233,101,232,93,236,91,245,87};
int utt[]={276,121,280,119,280,109,284,107,293,106,301,106,325,125,317,133,317,144,313,148,304,141,294,139,292,133,283,133,283,125,276,121};
int raj[]={217,123,213,127,207,139,197,145,194,152,185,158,178,157,172,158,165,153,150,169,149,174,153,177,160,179,160,188,162,193,166,195,173,213,187,214,195,219,202,220,204,224,221,244,227,238,232,232,231,215,234,212,239,216,244,218,246,229,253,226,266,222,261,216,264,213,270,210,262,208,256,204,259,197,284,182,273,184,275,175,271,165,264,166,264,160,255,160,247,155,242,149,242,140,236,140,235,135,229,134,229,127,223,127,217,123};
int hyna[]={271,165,264,166,264,160,255,160,247,155,242,149,242,140,236,140,235,135,229,134,229,127,237,128,241,132,248,128,254,131,254,127,261,122,265,114,276,121,269,128,267,133,268,140,267,148,274,157,274,162,271,165};
int up[]={276,121,283,125,283,133,292,133,294,139,304,141,313,148,320,154,324,154,340,165,344,165,350,170,360,174,364,173,370,174,380,188,376,187,373,188,373,190,375,194,374,197,382,201,372,205,364,211,362,214,367,222,363,226,363,231,358,235,353,234,353,222,345,220,340,214,333,213,328,217,322,213,316,214,316,208,313,209,306,214,302,210,293,208,289,211,295,222,295,228,285,222,282,216,285,210,285,204,288,202,294,203,295,197,296,190,297,187,284,182,273,184,275,175,271,165,274,162,274,157,267,148,268,140,267,133,269,128,276,121};
int guj[]={173,213,187,214,195,219,202,220,204,224,221,244,224,249,218,252,218,263,212,266,212,269,215,275,211,277,210,286,205,284,205,294,193,291,196,287,196,280,192,276,189,257,188,263,187,270,183,274,169,280,164,282,159,280,136,249,144,248,153,246,156,244,158,241,151,241,147,244,144,243,130,233,128,228,129,224,135,216,140,215,150,217,153,220,160,215,164,215,166,217,167,219,169,217,173,213};
initgraph(&gd,&gm,"C:\TurboC3\BGI");
setfillstyle(9,2);
fillpoly(45,jk);
setfillstyle(9,3);
fillpoly(19,him);
setfillstyle(9,4);
fillpoly(20,pb);
setfillstyle(9,5);
fillpoly(16,utt);
setfillstyle(9,6);
fillpoly(53,raj);
setfillstyle(9,7);
fillpoly(26,hyna);
setfillstyle(9,8);
fillpoly(65,up);
setfillstyle(9,9);
fillpoly(48,guj);
fillellipse(265,153,5,5);
getch();
closegraph();
}

http://csprograms4u.blogspot.com/2018/03/designing-of-map-of-india-in-computer.html

Coin Marketplace

STEEM 0.24
TRX 0.26
JST 0.041
BTC 98449.34
ETH 3495.58
USDT 1.00
SBD 3.36