Can functions in a header use pass by reference of user made types?

I have 3 classes(customer, bank, statistics) and for some reason I can pass by reference A bank type into functions in my Customer class, but when I try passing customers into my bank class it gives me errors. Any ideas?
Topic archived. No new replies allowed.