肯定是你include的时候重复include了某一个文件.

解决方案 »

  1.   

    记得在每个.h文件里最前面加入#ifndef *_H #define *_H #endif
    要么试试 #pragma onceSpecifies that the file, in which the pragma resides, will be included (opened) only once by the compiler in a build. A common use for this pragma is the following:
      

  2.   

    谢谢大家,问题已解决,错误出在定义的数据结构:"struct TComplex *  A" 不应该写在
    文件头上(可能被其他程序包含),而只应该写在本类里边。