from sql I have a output
id value 123 xxx 124 xxx 124 yyy 125 xxx
handle this output in c++ code where I want to use 123,125 ids(unique) and 124 which has multi values separatly. (basically want to store unique and multivalue ids separately and later want to retrieve them separately)
I can use any stl container
in map can I have unique key value pairs 123->xxx 125->xxx
and 124->xxx,yyy separately
can someone help me for better design
Thanks
Aucun commentaire:
Enregistrer un commentaire