Thanks Blackrat, its starting to make sense now, i did a quick google on constructors/deconstructors and i still need to learn about them then it should be clear. Is it because when i create a shop object in main it only has a lifespan in main and then dissapears when you leave main to go to another function, is that why i get the
'shop1' : undeclared identifier
left of '.sellb' must have class/struct/union type
errors, because they dont exist in that function?
So a constructor will live until it is deconstucted?
I'll be back, got some reading to do
Thanks again