how to start with templates ??

From: Jigar Mehta (jigarmehta_at_gatescorp.com)
Date: 01/28/05


Date: 27 Jan 2005 22:48:33 -0800

Hye all,
I am a VC++ programmer (have exp. of 2+ years).. But till now, I
have never worked on templates.. I have developed whole products but
never worked on templates or used them in my applications...

But now, I think as a full-fledged programmer, this is the thing I have
not learned.. And want to start with templates, so, can you please
guide me from where to start with ?? What is the general meaning of
template ??

Can anybody present me with any basic example of templates from where I
can start understand template basics...

You please give me small snippet that does something through
templates..
Thanks,

Jigar Mehta
GATES Information Systems Pvt. Ltd.
India



Relevant Pages

  • Re: why still use C?
    ... > to be at the mercy of the compiler and its designer, ... as a programmer I am no ... > program using templates and expect it to work identically on different ... > in mind that a programming language is a tool to make programs. ...
    (comp.lang.c)
  • Re: OT: C++ overloading operators
    ... I have no intention of mixing templates into the mix. ... so are the the data structures and data types. ... of control the programmer has of exploiting that same hardware. ... FORMAL function calls in the trivial arithmetic expression ...
    (comp.dsp)
  • Re: trouble creating array of objects
    ... > I do see a lot of people using builtin arrays who are asking questions ... >>the STL. ... And I think a programmer should learn classes before templates, ...
    (alt.comp.lang.learn.c-cpp)
  • Re: Better object orientation?
    ... only those features he actually used. ... If you don't like templates, ... The issue isn't from a programmer point of view, but from an implementor point of view. ... I prefer to write platform dependent rules that fulfils most of my needs. ...
    (comp.std.c)
  • Re: Why do we use different files for C ?
    ... Object code reuse releases the programmer from having to wade through, ... Also most libraries are very large, ... form of source "templates", ... because of the lack of understanding of the Asm programming ...
    (alt.lang.asm)