+ 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
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/
+ 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
+ 1
Try to search "EasyX Library".
+ 1
Just see it on YouTube :-
https://www.youtube.com/playlist?list=PLMclp-q8OPhnBqdI6DAIhsHX6RvVD5nha
+ 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.
0
try to use Qt