Hi,

Am confused how STL Map object works...
Say I want to store an employee with various attributes
id name pay etc in a map. I can use the ID as a key but am unsure as to the actual setup. Do I include a map object in my employee class for the id and trace from there as I dont believe I can store an entire employee object in the map.

can someone please clarify this

Regards
Nomes