jog@umvlsi.ecs.umass.edu (Ashwini ) (04/05/91)
Hi Everbody,
This is the first time Im using Externs in c++ so please excuse me if it is
obvious.
my foo.h file contains the declaration of a class which contains some other
classes. say for instance,
class foo{
private : ...
public :
f_bar * lsk ; // where f_bar is a class declared in some other file
} ;
My question is
Do I simply declare class f_bar at the start of my foo.h file as
class f_bar ;
Or do I #include f_bar.h in my foo.cc file?
Thanks a lot in advance
Ashwini
jog@umaecs.umass.edu