On 2005-11-21 20:05, Neo wrote:
Hi,
I am new to C++ and want to know what are forward declarations and any
site which has a good introductory explanation.
thanks in advance,
nick
Forward declarations is a way to tell the compiler that there exists a
class with a certain name, but you don't tell it what it is.
A good example and explanation from the FAQ:
http://www.parashift.com/c++-faq-lit...html#faq-39.11
Erik Wikström
--
"I have always wished for my computer to be as easy to use as my
telephone; my wish has come true because I can no longer figure
out how to use my telephone" -- Bjarne Stroustrup