Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Learning C++ using a template

Tags:

c++

Do you recommend learning C++ using a template?

Edit
I have basic programming language (I know how to work with things like loops, arrays, classes and functions) and I have been recommended to follow tutorials in a template that is already made for creating games.

I would like to become a game programmer.


1 Answers

No. C++ template is the last that newbies should touch. First learn the basics: loops, conditional blocks, various syntax, then class/struct. And then templates! However, you should learn to use STL, almost from the beginning. Please note that using templates (such as STL) is one thing, and writing your own class/function templates is another. First learn to write non-template class and function. Once you're confident, only then start learning and writing your own class and function templates!

Buy any introductory book, as listed here, and start reading it:

The Definitive C++ Book Guide and List

like image 132
Nawaz Avatar answered May 11 '26 18:05

Nawaz



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!