+ 3
How do I dive deeper into C++(my fav)
I almost have accomplished my cpp course and I want to be a game programmer so I want to dig deeper into cpp . plz suggest me some articles ,books (1 or 2) and online courses. I shall be really thankful for this act of community.And also mention a good DSA course. Thanks.
7 ответов
+ 11
The cpp course here is just an introduction, don't wanna burn your dream but you must know cpp is hard to master and is an huge world.
I give you a path to follow..
1st) do many coding challenges here to improve what you learned ( focus on pointers, references, dynamic memory, templates) use classes not main function, use scope resolution :: for libraries and for your own code , dont use using keyword.
2nd) learn the standard template library and get used.
3rd) start learning some design patterns.
4th) read "Effective c++" by Scott Meyers first and other books if you like later on.
5th) learn JavaScript very well ( not a joke! JS is a very modern language with all the features a game needs) dont worry, you can learn it easily after you have mastered another programming language.
6th) Go to Epic Games and get the Unreal Engine, it is powerful, it has everything a game programmer needs and it has a great documentation , lessons, tutorials, videos and a great community, with real and Unreal PROgrammers.
+ 7
Nice to help!
Hope to play your awesome games! 🎮
+ 7
Chris JS and web languages can improve your project structure and modernize your style..
Although they are very different from c++ , they can be viewed like a modern engine if you see the browser as an engine, I know this seems a bit strange.
For example in Unreal you don't use the c++ standard template library but the engine API.
In Unreal you don't use only c++ but c++ combined with blueprint visual scripting .
You use c++ to add personal functionalities.
You don't have classes as you were used in plain c++ but objects.
For loops and if should be used less.
And when you create user interfaces you use a UI editor with parameters lists that looks like a css and a structure a bit like an HTML.
Borders, padding etc..
+ 2
Follow theCherno on youtube
+ 2
Really thank-you AZTECCO . you encouraged me . Now I'll try to act upon your suggestions . In fact I have taken screenshot of your advices. thanks
+ 1
I don't understand why he should learn JavaScript?
+ 1
To dive deep into cpp, you will need to get your basics extremely right.
Cpp is evolving rapidly, we already have many newer concepts like
*Auto
*Template Type deduction
*Lambdas
*Generic Lambda
*Template meta programming
*Fold expressions
*Constexpr
*Rvalue reference, move semantics
*Smart pointers
*Std::threads
*Concurrency concepts
*newer and efficient algorithms
*lexical library
etc and more with existing standard C++17 ( the list goes on and on)
Newer concepts like
*Metaclasses
*Spaceship operator <=>
and few more are already in draft for C++20.
Each of newer concepts are interesting and can be exhaustively studied.
Modern C++ by Scott Meyers is a good starting point.
Talks from Committee members on newer concepts are available online.
Happy coding!!!!