S
Songling
I had some very interesting include problems. Please see descriptions below.
In "MyObj.cc" file, I used the following lines to do the include,
#pragma implementation <MyObj.h>
#include <MyObj.h>
In "MyObj.h" file, I do the followings,
#pragma interface
#include <MyHdr.h>
In "MyHdr.h" I define type A. But when I try to use type A in "MyObj.cc",
the complier
complains that type A is undefined. The compiler I'm using should be
diab-5.1.
Can anybody be kind enough to help?
Thanks!
Songling
In "MyObj.cc" file, I used the following lines to do the include,
#pragma implementation <MyObj.h>
#include <MyObj.h>
In "MyObj.h" file, I do the followings,
#pragma interface
#include <MyHdr.h>
In "MyHdr.h" I define type A. But when I try to use type A in "MyObj.cc",
the complier
complains that type A is undefined. The compiler I'm using should be
diab-5.1.
Can anybody be kind enough to help?
Thanks!
Songling