saving . . . saved How do I define classes that refer to each other? has been deleted. How do I define classes that refer to each other? has been Shown .
How do I define classes that refer to each other?
Title
Question
How do I define classes that refer to each other?
If I want to define two classes that refer to each other and each other's members, how do I do that? As someone mentioned in another thread, C++ processes definitions sequentially. So how can I make two classes that require each other's definitions?


I didn't find the right solution from the internet.

References:
http://www.programmingforums.org/thread484646580.html

Advanced-Cpp General None min None sec 14-11-17, 6:30 p.m. JensenBreck

Answers:

Log-in to answer to this question.