请教一个关于C++Builder类的声明的问题
gulit 2001-07-21 10:36:24 在一个project中我把自己写的类class ImageEffect写在了ImageEffect.h文件中,
并且Add to Project了,但是在Unit1.h中定义对象:
private:
ImageEffect effect;
(Unit1.h中已经include了ImageEffect.h文件)
时,编译出错:
[C++ Error] Unit1.h(78): E2303 Type name expected
[C++ Error] Unit1.h(78): E2139 Declaration missing ;
不知道是什么原因,还请各位高手指点.
谢谢