C++ game in graphics? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

C++ game in graphics?

Can anybody give me code of a game in C++ graphics Maybe using graphics.h

5th Feb 2018, 1:43 PM
Muhammad Zubair
Muhammad Zubair - avatar
2 Answers
+ 24
I advise you to make a game using OpenGL. This will be easier, although you will have to learn the syntax of OpenGL: https://en.m.wikipedia.org/wiki/OpenGL Here's a links to an example of a c++ game with OpenGL: https://youtu.be/Xq3isov6mZ8 ----------------------------------------------- Lessons on c++ OpenGL: https://youtu.be/TH_hA_Sru6Q https://youtu.be/Fgybepvmm5w
5th Feb 2018, 2:18 PM
alex44098
alex44098 - avatar
+ 1
Thanks alex but we are bound to use not any professional graphics library but like graphics.h And OpenGL is a bit advance and isn’t allowed in my project
7th Feb 2018, 2:32 PM
Muhammad Zubair
Muhammad Zubair - avatar