class Stash2 { int size; //size of each space int quantity; //number of storage spaces int next; //dynamically allocated array of bytes: unsigned char* storage; void inflate(int increase); Mem* buff;//////////////////////////////// public : // Stash(int size); Stash(int size,int initQuantity = 0); ~Stash(); int add(void* element); void* fetch(int index); int count(); };
#endif //STASH2_H
程序编译时出现:fatal error C1083: Cannot open include file: 'Mem.h': No such file or directory,但我已经把这个头文件拷到工作目录里了呀,为什么还会出现这个问题呀??是不是编译器的问题??我的是VC++6.0。