G
Guest
I have an object a
class object
{
private:
string streetname ;
vector listofhomes ;
}
i want to use STL template to build a program like
this class will have a
{ reed street,
list of houses in this street( names).
}
I want this to be collection. Like
{ streetname, list of houses)
(streetname, list of houses)...
How do i do it ?
Thanks in advance.
jk
class object
{
private:
string streetname ;
vector listofhomes ;
}
i want to use STL template to build a program like
this class will have a
{ reed street,
list of houses in this street( names).
}
I want this to be collection. Like
{ streetname, list of houses)
(streetname, list of houses)...
How do i do it ?
Thanks in advance.
jk