Friday, November 30, 2018

North Korea Flag Using C++ Coding

How To Create North Korea Flag 



in this blog you will learn how to do coding for the Flag of the North Korea, Just by following the below steps...

Step1; First Open Up Your Turbo C++ Program
Step2; And then Write the following Codes in your program


#include<conio.h>
#include<graphics.h>
void main()
{
int driver=DETECT,mode;
initgraph(&driver,&mode,"c:\\turboc3\\bgi");
setfillstyle(1,RED);
bar(60,120,480,270);
setfillstyle(1,BLUE);
bar(60,88,480,118);
bar(60,273,480,303);
setfillstyle(1,WHITE);
bar(60,270,480,273);
bar(60,118,480,120);
fillellipse(180,195,45,45);
setcolor(RED);
line(180,150,170,180);
line(180,150,190,180);
line(170,180,140,180);
line(190,180,220,180);
line(140,180,163,200);
line(220,180,197,200);
line(163,200,153,230);
line(197,200,207,230);
line(153,230,180,210);
line(207,230,180,210);

getch();
closegraph();
}


And The Compile it, and you will get the Flag of the North Korea on your Screen...



No comments:

Post a Comment

Making Gif of the images using MATLAB In this tutorial you will learn about how to make Gif  of the images while they are kept in One ...