0

How can I print a C++ game to an usual window or website instead of cmd?

I completed the C++ course and did a snake game in Visual Studio Community which prints to cmd with the help of a YouTube guide. I'm wondering now how I can print a game to an usual window or website instead of cmd. I don't want to use third party game engines.

10th Jun 2019, 5:14 PM
Entrance
9 ответов
0
there only exist third party game engines...
10th Jun 2019, 5:16 PM
Cat Sauce
Cat Sauce - avatar
0
if you want to make games with graphics you need to learn librarys like for example: -SDL -SFML
10th Jun 2019, 5:17 PM
Cat Sauce
Cat Sauce - avatar
0
Thanks for your answer, which of these libs is the best for making games?
10th Jun 2019, 5:25 PM
Entrance
0
What is usual window here? Is it C++ application file?
10th Jun 2019, 5:28 PM
777
777 - avatar
0
Well, I was thinking about a borderless fullscreen window like the usual stuff for pc games or instead printing to a website for a browser game or even "to android" for a mobile game. It's a cpp file.
10th Jun 2019, 5:29 PM
Entrance
0
Entrance SDL is more for making advances 2d games (its hard but very good, especialy when you combine it with openGL (a 3d library: https://youtu.be/21E9DWbTKcU). some pretty famouse games are made in SDL. SFML is more for simpel 2d games and Code Art (relativly easy if you compare it to SDL)
10th Jun 2019, 5:37 PM
Cat Sauce
Cat Sauce - avatar
0
Do you have to give a cut of your profit to any of such lib providers similar to when you use a game engine like unreal?
10th Jun 2019, 8:44 PM
Entrance
0
Most code is open source so no you don't.
11th Jun 2019, 7:01 PM
Vlad Serbu
Vlad Serbu - avatar
0
Entrance nope not at all
11th Jun 2019, 8:25 PM
Cat Sauce
Cat Sauce - avatar