C++ Graphics Program to Draw Google Search Engine Page in Command Line

You are currently viewing C++ Graphics Program to Draw Google Search Engine Page in Command Line

If you want to clarify the concept about “C++ Graphics Program to Draw Google Search Engine Page in Command Line” then you are in the correct article. Yes, We can see the possibility to achieve this task successfully.

C++ Graphics Program to Draw Google Search Engine Page in Command Line

Source Code

#include<iostream.h>
#include<conio.h>
#include<graphic.h>
#include<math.h>
void main()
{clrscr();
int g=0,d;
initgraph(&g,&d,"c:turboc3bgi");
setbkcolor(15);
setcolor(1);
settextstyle(3,0,5);
outtextxy(190,140,"G");
setcolor(4);
settextstyle(3,0,5);
outtextxy(220,140,"O");
setcolor(3);
settextstyle(3,0,5);
outtextxy(250,140,"O");
setcolor(1);
settextstyle(3,0,5);
outtextxy(280,140,"G");
setcolor(2);
settextstyle(3,0,5);
outtextxy(310,140,"L");
setcolor(4);
settextstyle(3,0,5);
outtextxy(340,140,"E");
setcolor(1);
settextstyle(3,0,5);
setcolor(4);
settextstyle(1,0,2);
outtextxy(100,350,"SEARCH");
settextstyle(1,0,2);
outtextxy(380,350,"I'M FEELING LUCKY");
setcolor(8);
rectangle(140,200,480,230);
rectangle(93,350,183,380);
rectangle(370,350,580,380);
getch();
}

Final Words

I hope this tutorial will be very helpful to know about “C++ Graphics Program to Draw Google Search Engine Page in Command Line“. If you have any doubts about this topic then let us know via the comment section. Please provide a powerful feedback to encourage us. Thank You!

Ranjith

Hi, I'm Manoj a full-time Blogger, YouTuber, Affiliate Marketer, & founder of Coding Diksha. Here, I post about programming to help developers.

Leave a Reply