是不是在程序的最开始的地方,加了什么东东的!
不过以后编程序的时候最好在加新功能的时候先backup一下!

解决方案 »

  1.   

    谢谢fz_zhou(vcfan),
    但我好象没有在在程序的最开始的地方加什么东西啊!
    不过以后编程序的时候我会在加新功能的时候先backup一下了! 
      

  2.   

    以下是错误提示
    c:\1vc\2d\plot.h(29) : error C2061: syntax error : identifier 'CDraw2D'
    c:\1vc\2d\plot.h(41) : error C2146: syntax error : missing ';' before identifier 'm_draw'
    c:\1vc\2d\plot.h(41) : error C2501: 'CDraw23D' : missing storage-class or type specifiers
    c:\1vc\2d\plot.h(41) : error C2501: 'm_draw' : missing storage-class or type specifiers
    c:\1vc\2d\plot.h(55) : error C2143: syntax error : missing ';' before '*'
    c:\1vc\2d\plot.h(55) : error C2501: 'CDraw23D' : missing storage-class or type specifiers
    c:\1vc\2d\plot.h(55) : error C2501: 'GetDraw' : missing storage-class or type specifiers
      

  3.   

    可能是CDraw2D的头文件未加进去, 在你的类声明前加上 class CDraw2D; 试一试.