Alright I am writing a program that I need to give it the ability to have 2 seperate classes access eachother for example...
say I have class CUser and CChannel
they would look like this
and in a separate file I would have another class like this
now if I try to include them to eachother with an ifndef in it so they do not go into an infinate loop it still doesnt declare them properly. Is there a way that I can get my classes to access eachother like this. Please help me out. and my main function by the way would pass the reference to each class