Click here to Skip to main content
15,922,574 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
graphic.h is not in the Dev C++ and CodeBlocks...I tried a method to include graphics.h in CodeBlocks by downloading library file and link it to CodeBlocks But it gives Error.
So, how can I use graphic(e.g circle,linr, etc. functions) in console mode of CodeBlocks...?
Posted
Comments
Sergey Alexandrovich Kryukov 25-May-14 22:27pm    
Do you mean http://www.codeblocks.org? If so, the question is irrelevant to Code::Blocks which is nothing but IDE. I'm not sure you understand the roles of development tools and how programming is done. In particular using header files does not mean using some library. And "graphics.h" used to be a Borland include file to a very poor and totally obsolete library for an obsolete platform.

As you did not mention your platform, your question makes no sense. It looks to me that you are not ready to do graphics yet; first you need to learn general topics on platforms, programming, development cycle, tools, etc.

—SA

1 solution

hi,
graphics.h was the drawing library with turbo compiler so you should not be surprised if it does not run with new IDEs like code::blocks .

please take a look at answers to this question[^]

As for which library to use with code::blocks you can take a look here[^]

hope this helps!
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900