Bump
I hope someone answers this, I'm curious myself.
I know you can pass pointers to classes. My gut says that I would want bar to instance foos but I'd be worried that foo would only scope to bar. When an instance of bar is declared you could tell it how many foos you want.
I think to do that, you would need the foo class already defined and prototyped in the bar class header.
I'm learning too. ![]()