+ 1

How can you use C++ with any sort of graphics interface?

When I started the C++ tutorial lessons, it was said that C++ could be used for all manner of things "Anything from art applications, music players, and even video games"... upon completing it, I have realized one tiny detail... YOU CAN NOT USE IT WITH ANY SORT OF GRAPHIC INTERFACE! I mean, between two+ dimensional arrays, objects, and files that can be saved and retrieved, C++ appears to be leagues better than JavaScript, but at least you can directly cross develop JavaScript with HyperTextMarkupLanguage. But C++ only seems to be a platform for one dimensional programs! How do you develop, say... A tower defense game a copy of Minecraft, or even the simplest of "art applications" with something that does not even allow for the creation of the simplest of graphics, or any apparent way to connect it with something that does allow such? Don't get me wrong, I can see how knowing C++ may be useful, I just don't have a clue as to how it can be used to do what is said you can do with it.

27th Jul 2018, 11:58 PM
Sauron
Sauron - avatar
9 Respuestas
+ 2
There are many libraries and frameworks that work with C++. There is Boost, QT, and many others. Look through these: http://awesome-cpp.readthedocs.io/en/latest/README.html#frameworks https://fffaraz.github.io/awesome-cpp/#gui
28th Jul 2018, 1:03 AM
Bill Zelenko
Bill Zelenko - avatar
0
^ then why is such not allowed here? I tried typing in #include <HTML> before but it just came up with an error...
28th Jul 2018, 12:10 AM
Sauron
Sauron - avatar
0
^^...and through the entire course it doesn't mention graphics, at all...
28th Jul 2018, 12:10 AM
Sauron
Sauron - avatar
0
But I will look up those things.
28th Jul 2018, 12:11 AM
Sauron
Sauron - avatar
0
^well, it should. Because if I was less weak willed, I would easily find how it appears that you can't use graphics in c++ a complete turn off and would have just turned away.
28th Jul 2018, 12:37 AM
Sauron
Sauron - avatar
0
^^And I have no doubt that there are some people who already have turned away from C++ believing that they could not use graphics with the language...
28th Jul 2018, 12:38 AM
Sauron
Sauron - avatar
0
^^^^ and to what you said... JavaScript is directly connected to HTML... can't Sololearn at least do that? It is clearly possible with how it was done with JS...
28th Jul 2018, 12:40 AM
Sauron
Sauron - avatar
0
^ Oh... okay that explains things!
28th Jul 2018, 12:48 AM
Sauron
Sauron - avatar