Mine
public text v1 · immutable#include <iostream>
#include <list>
using namespace std;
class Customer{
public:
int age;
int results;
};
class Coworker{
public:
list <Customer*> custli;
};
class Holding{
public:
list <Coworker*> workerli;
};
int main(){
Holding somecompany;
Coworker irene;
Customer paul;
somecompany.workerli.push_front(&irene);
irene.custli.push_front(&paul);
return 0;
}