+ 15

How to Use Graphics in C/C++ Language in Code::Blocks ?

I want to make different shapes like Circle, Rectangle etc. with the help of C/C++ instructions. But Code:: Blocks doesn't have graphics.h header file? https://code.sololearn.com/cW2aSeIo786c/?ref=app

4th Dec 2019, 6:37 AM
ROHIT KANOJIYA
ROHIT KANOJIYA - avatar
6 Respuestas
+ 8
graphics.h it's part of Borland environment. You can use SDL or Opengl to make graphics in C++. If you want to use graphics.h on Codeblocks, try this: https://www.geeksforgeeks.org/include-graphics-h-codeblocks/amp/
4th Dec 2019, 6:49 AM
Rolando A. Rosales J.
Rolando A. Rosales J. - avatar
+ 9
Yeah... I've tried it too... and the only working is this https://www.sololearn.com/post/170968/?ref=app Click the you tube video in that post and then download his link and follow his instructions... It is completely working in mine
13th Dec 2019, 2:05 PM
MCGAmedCoder gamerArtist
MCGAmedCoder gamerArtist - avatar
+ 1
Try to search "EasyX Library".
16th Feb 2020, 12:08 PM
Songbingzhi_628🇨🇳
Songbingzhi_628🇨🇳 - avatar
18th Apr 2020, 1:23 PM
Harshit Sharma
Harshit Sharma - avatar
+ 1
I followed https://erainnovator.com/how-to-include-graphics-h-in-codeblocks/ and I was able to use graphics.h in codeblocks. I am sure this will resolve your problem.
24th Aug 2020, 4:47 AM
alkesh Miyani
alkesh Miyani - avatar
0
try to use Qt
5th Apr 2020, 8:59 PM
Sergey Kagal
Sergey Kagal - avatar