Problems with graphics.h in codeblocks | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Problems with graphics.h in codeblocks

It's showing an error in line 1: "include<graphics.h>" and it's saying in the build messages: "fatal error: graphics.h: no such file or directory" . What do I do?

13th Jul 2019, 9:38 AM
Zibran Zarif
Zibran Zarif - avatar
2 Answers
+ 1
Try it check out the link here which can probably help you https://www.google.com/amp/s/www.geeksforgeeks.org/include-graphics-h-codeblocks/amp/
13th Jul 2019, 10:24 AM
Highman
Highman - avatar
0
Thank you very much.. I tried all the steps, and the .cpp file compiled successfully, but the console is showing no output, it is returning a random value... What do i do about it?
13th Jul 2019, 3:55 PM
Zibran Zarif
Zibran Zarif - avatar