Member Avatar for Subhadeep_1

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 : https://docs.google.com/file/d/0B0soGRNZOS7sak9hSXk2aW9EOFE/edit?usp=sharing

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 for Subhadeep_1

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, networking, learning, and sharing knowledge.