Member Avatar

I **want to draw a magnifying glass using <graphics.h> ** in Turbo C++ (a DOS-based compiler for C++), which is mostly user as "Search" icon. But, I am having problems in making the rectangle attached to the two circles (one inscribed on another). I've also included the screenshot (made in PowerPoint) on how the output will look like, even

I've made most of the part, except the search icon (magnifying glass). How can I draw and colour it using floodfill(). Can you guys please help me?

The Link for the screenshot is :

Thanks, in advance! :)

Recommended Answers

All 2 Replies

I would suggest using something other than graphics.h. it is not supported by any modern compilers and it will only work in a dos enviroment.

Member Avatar

But, I can't. I am preparing it for my high-school project.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.