孙鑫教程第一集代码.docxVIP

  • 0
  • 0
  • 约2.55千字
  • 约 3页
  • 2017-07-12 发布于河南
  • 举报
孙鑫教程第一集代码

#include windows.h//Windows头文件#include stdio.h//因为要用到C语言的库函数//函数声明 将函数名字化成winsunprocLRESULT CALLBACK WinSunProc( HWND hwnd, // handle to window     UINT uMsg, // message identifier WPARAM wParam, // first message parameter LPARAM lParam // second message parameter);//第一步,程序入口点函数int WINAPI WinMain( //程序入口点函数--WinMain函数,查MSDN HINSTANCE hInstance, // handle to current instance HINSTANCE hPrevInstance, // handle to previous instance LPSTR lpCmdLine, // pointer to command line int nCmdShow // show state of window)//第二步,设置窗口类型{WNDCLASS wndcls; /

文档评论(0)

1亿VIP精品文档

相关文档