srand(time(NULL));
int rand_cust = 0;
list<cash_register> l1;
list<cash_register> ::iterator it;
int in;
cash_register b;
b.add_People(1);
l1.push_front(b);
l1.front(); // I getting access to this list but inside this is a list.
// HOW IN THE HELL TO I GET ACCESS TO THAT one??
Thanks for the answer!
I have one more question if want to loop throug the "inner" list how should i do that then?
Are u still creating a itterator for that one in my main program?