//ff.cpp------------------------------------- i use the pointer p_CC to have access to the private members of classes one and two. but i do not include their .h , neither the one of CC class..
all these files belong to one poject..
thank you for your help.. ------------------------------- c++, visual net c++
2. Re: how call a pointer to a class without including its .h file ?
#3206
Posted by: 2004-01-07 14:56:55
first of all, it's "pragma once" Second use:
class one; class two;
To include a forwared declaration to a class... Also try google-ing for "c++ friend reference guide"