0

forgive me buddies if it is childish question, I cannot find good tutorial explaining it. So bear with me.

My questions are, how does forward declaration differ from normal include which I'm used to? Also, where do we use it and what are limitation of the two? Lastly is there any good tutorial or online book explaining these? Thanks!

2
Contributors
1
Reply
2
Views
6 Years
Discussion Span
Last Post by Narue
0

A forward declaration does nothing but introduce the name of a type into the current scope. Headers typically provide full declarations, which include member information as well as the type name.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.