W
Woodster
Further to a question I posted here recently about coding an xml rpeort
parser, I need to use a list of name/value pairs, in this case, a list
property names and values for a given tag.
Rather than deriving a linked list class and adding in 2 char * to the
derived class, I have decided to try and start using templates howver
not having used templates before I do not know where to start.
Unfortunately time is not on my side and I was hoping someone could give
me a quick kick start with how to declare such a template.
Deriving from my own base list and list element classes is obviously an
easy task however I would like to start using templates at some point
and this would be something easy to get me started.
Any help or pointers would be rgeatly appreciated.
Thanks in advance
parser, I need to use a list of name/value pairs, in this case, a list
property names and values for a given tag.
Rather than deriving a linked list class and adding in 2 char * to the
derived class, I have decided to try and start using templates howver
not having used templates before I do not know where to start.
Unfortunately time is not on my side and I was hoping someone could give
me a quick kick start with how to declare such a template.
Deriving from my own base list and list element classes is obviously an
easy task however I would like to start using templates at some point
and this would be something easy to get me started.
Any help or pointers would be rgeatly appreciated.
Thanks in advance