Mail Archives: djgpp/1997/11/11/23:44:34
Hi,
It seems I am not the only one confused about Containers/Templates, where it is their purpose,
implementation or whatever else. Would some care to explain this to us? :)
What is the purpose of Containers, what are they used for?
I understand templates are used to have a Class of <insert variable type here> so basicly I can make
a template called Array and when using it in my program I'd go:
"Array<int> dummy"
And dummy would be a variable of type Array of int. Therefore the class Array would handle int as its
basic variable. Ok, now, what are containers? :)
Gili
- Raw text -