HI there,
Q1
How do you sort containers of structs using the sort() algorithm ?
With primitive types its fairly easy, but with structs how can you use one of the fields as a sort key ?
Q2
When might you need to create a container of user defined objects ?
Q3
When might you need to create a container object on the heap rather than the stack ?
Q4
Can auto_ptr be used to create a container on the heap ?
THANKS ALL,
bigSteve