#include <windows.h>
#include <stdio.h>
int WINAPI WinMain(
  HINSTANCE hInstance,      // handle to current instance
  HINSTANCE hPrevInstance,  // handle to previous instance
  LPSTR lpCmdLine,          // command line
  int nCmdShow              // show state
);
{
WNDCLASS wndcls;
wndcls.//这里会自动跳出类的成员函数,我的怎么没有?
}

解决方案 »

  1.   

    晕倒,你自己的粗心而已.
    int WINAPI WinMain( 
      HINSTANCE hInstance,      // handle to current instance 
      HINSTANCE hPrevInstance,  // handle to previous instance 
      LPSTR lpCmdLine,          // command line 
      int nCmdShow              // show state 
    ); //这里多了个分号,这个函数是入口函数,又不是声明函数
      

  2.   

    怎么可能没有,WIN API函数没有?你哪什么环境啊
      

  3.   

    LZ要删除ncb,opt文件 ,重新打开dsw就可以 显示了
      

  4.   

    智能感知突然不出现是很正常的.VC6的智能感知太弱智了.就不说了.一般用VAX代替.
    VS2005在你修改了头文件后.会自动更新智能感知.而这个时候智能感知是不可用的.而且电脑会很卡,很慢.
    据说VS2008在这方面改进很多.