I haven't been able to find a similar question on here, or through Google, maybe because i don't know if I'm asking the right question, so not sure if the title is right. But I'm working with code that looks like this:
Foo * foo = new Foo(); add(*foo); //Couldnt find any similar questions on this syntax? void add(const Foo & foo){ //What exactly is foo here? How can i manipulate its members, foo. or foo-> ? }