Hi
I have the following code:
class Libr
{
public:
Libr();
std::string book;
class Street
{
public:
Street();
}*street
}*libr;
How to use a shared object in the following method:
void find(std::string, ??generic object)
{
Can someone please give me an example with a common object applied to both classes that I wrote? thank!
source
share