Learning C++ using a template -


do recommend learning c++ using template?

edit
have basic programming language (i know how work things loops, arrays, classes , functions) , have been recommended follow tutorials in template made creating games.

i become game programmer.

the short answer question yes.

the longer answer yes, but need consider when move c++ template world. c++ rich languare , comes enormous power , possibilities. use power 1 needs responsibility , 1 must have knowledge use things wisely. there many things 1 needs understand in c++ in order write code , templates not in list of important things.

however, mentioned stl (standard template library) central piece in c++ , is, see name, library using templates (heavily). in opinion, stl should start looking @ when start learning c++. need understand basic concepts templates. same goes boost, masterpiece in c++ template programming. here might need more understanding templates are, , do.

my advice start learning c++ fundamentals without involving templates. big domain , take long time master. when feel comfortable here, take @ stl , maybe later boost. here can familiar template programming user of templates in code. again, these libraries big , require work understand can use them wisely in own code.

here nice article programming in general , takes learn something. c++ not exception , requires lot of time , work.

my own experience in c++ 10 years , still have lot learn, templates. use them daily, try see when make sence use. i'm not talking using stl or boost, because believe part of c++ base toolkit. i'm talking writing own templated code. have seen i've worked people many times have problems templates , making software. in opinion, only master knows when in template world, when not , how combine two.

still, templates useful , believe c++ programmers should have understanding of them. level of understanding depends on own usage of templates , on time decide use c++'s huge toolkit.

c++ templates - complete guide considered book templates , worth read (or many;)).


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -