我的是vc画图,为什么不能通过

解决方案 »

  1.   

    说 :error C2065: 'm_pPenOld' : undeclared identifier
    D:\vc\myhi\myhiView.cpp(228) : error C2065: 'arColors' : undeclared identifier
    D:\vc\myhi\myhiView.cpp(228) : error C2109: subscript requires array or pointer type
    D:\vc\myhi\myhiView.cpp(230) : error C2109: subscript requires array or pointer type
    D:\vc\myhi\myhiView.cpp(231) : error C2446: '==' : no conversion from 'class CPen *' to 'int'
            This conversion requires a reinterpret_cast, a C-style cast or function-style cast
    D:\vc\myhi\myhiView.cpp(231) : error C2040: '==' : 'int' differs in levels of indirection from 'class CPen *'
    D:\vc\myhi\myhiView.cpp(231) : warning C4553: '==' : operator has no effect; did you intend '='?
    Error executing cl.exe.myhiView.obj - 6 error(s), 1 warning(s)
      

  2.   

    小弟初学者,请拉我一把吧!!!!!!#