Link to home
Start Free TrialLog in
Avatar of bowemc
bowemc

asked on

c++ Templates explanation

Hi,

I'm looking for a good explanitory resource covering C++ templates in an effort to prepare for an upcoming c++ college exam. Can anyone help?


Thanks
Avatar of Infinity08
Infinity08
Flag of Belgium image

Avatar of bowemc
bowemc

ASKER

ya, that was the first result i got with google when i was researching before. most of it went over my head :)
Right, if you think that was tough, then maybe http://cplus.about.com/od/beginnerctutorial/l/aa122802a.htm will be a bit simpler.  Or it may be easier to look at the links provided, then ask questions on what confuses you.

HTH
Heh, just noticed that that link and the one previously posted use the same example of a stack.  Ho hum...
>> most of it went over my head :)
What basis do you have in C++ ? What exactly do you have problems with ?
ASKER CERTIFIED SOLUTION
Avatar of DrAske
DrAske
Flag of Jordan image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
>>most of it went over my head :)

You're not going to learn about templates by just reading about it.
You have to actually try the code out to get a full understanding.

I know many season programmers (who called themselfs C++ programmers), who don't know much about templates.

This is not something you're just going to pick over night.

You need to practice it.
Well download the zip file at ftp://ftp.prenhall.com/pub/esm/undergraduate_computer_science.s-043/CPPHTP/CPowerPo.zip
extract it and look at chapter#12. Its all about templates. I also recommend the text book. C++ How to program by D&D is the best book to begin with.