+ 1

Newbiest c++ game builder ask for help

I've finished learn all tutorial of C++ basic knowladge on this amazing app.. Lately I've seen some of tutorial videos how to make a game But some code I've not ever seen in this c++ tutorial.. Such a Canio.h System IntRect RenderWindow Texture Sprit Event And otherrs Idk is that name of some data type or just name of class? Was it some another part of C++ that's not seen or taught in this app? And if yes where should I continue to learn? Should I have learnt C# first before jumping to C++?

24th Nov 2017, 4:51 AM
Risqi Ikhsani
Risqi Ikhsani - avatar
6 Réponses
+ 8
Here are some resources I used a version of render() in SDL2 ( a C++ library for game development) https://www.sololearn.com/discuss/488976/?ref=app https://www.sololearn.com/discuss/459759/?ref=app
24th Nov 2017, 5:47 AM
Manual
Manual - avatar
+ 7
You should noticed that those methods or functions come from libraries apart from the standard. The course only covers some of the basic features of the standard library. You need to practice and research a lot to use the libraries well.
24th Nov 2017, 5:45 AM
Manual
Manual - avatar
+ 2
Those are not C++ elements but part of an API, so as you thought, those are classes (or structs). If you are going to make games or any other program, you will probably meet with many of them, except if you want to do everything yourself, but that's unreasonable if you want to be productive. It depends on a given library's maker/makers how those are named and when you use a library, you need to learn the names they use, and how to use their API. As for learning C++ before C#, the two are a bit different, and you shouldn't worry about this. You are new to programming (am I right?), so you should concentrate on learning a single language well for first + good programming paradigms, algorithms. C++ lets you do lower level things so I think it's even an advantage that you learnt C++ first.
24th Nov 2017, 5:12 AM
OWRhcmFidQ==
+ 2
As Manual said, not all features have been mentoined in the courses, you will have to look into those yourself. (Or if advanced courses will be here, you can learn more from them, but I'm quite sure those won't cover all of them either.)
24th Nov 2017, 6:12 AM
OWRhcmFidQ==
+ 2
@Risque Complete this course. Then complete the intermediate course if you want to make software. - copy what is done in the course to get better. https://www.edx.org/course/introduction-c-microsoft-dev210x-5
24th Nov 2017, 4:41 PM
Manual
Manual - avatar
+ 1
Thanks very much.. I'm so newest in programming world.. So all elements of C++ have been taught in SoloLearn right? To continuing our exploration into deeper C++ function such a build game or software.we have to have good understanding about an API part too? Do you know where should I learn those part of an API?... I would appreciate it. Thanks again
24th Nov 2017, 6:08 AM
Risqi Ikhsani
Risqi Ikhsani - avatar