爱问知识人 爱问教育 医院库

求四子棋C 源文件

首页

求四子棋C 源文件

给地址也行~~拜托拜托~~~~~~

提交回答

全部答案

    2019-01-06 01:57:55
  •   #include HINSTANCE hInst; HWND hWnd; ATOM MyRegisterClass(HINSTANCE hInstance); BOOL InitInstance(HINSTANCE, int); LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM); void MyPaint(); BOOL XiaQi(int whichPlay, LPARAM lParam); BOOL IsWin(int whichPlay); void SetMap(); HBITMAP bmp[3],bg,bufBmp; HDC mdc,hdc,bufDC; int who=1; const int h=11,w=12; const int picH=40,picW=40; int map[w][h]; unsigned long now,pass; void SetMap() { for(int i=0; i=40) { MyPaint(); } } } return msg。
      wParam; } ATOM MyRegisterClass(HINSTANCE hInstance) { WNDCLASSEX wcex; wcex。cbSize = sizeof(WNDCLASSEX); wcex。style = CS_HREDRAW | CS_VREDRAW; wcex。
      lpfnWndProc = (WNDPROC)WndProc; wcex。cbClsExtra = 0; wcex。cbWndExtra = 0; wcex。hInstance = hInstance; wcex。hIcon = NULL; wcex。
      hCursor = NULL; wcex。hCursor = LoadCursor(NULL, IDC_ARROW); wcex。hbrBackground = (HBRUSH)(COLOR_WINDOW 1); wcex。lpszMenuName = NULL; wcex。
      lpszClassName = "canvas"; wcex。hIconSm = NULL; return RegisterClassEx(&wcex); } BOOL InitInstance(HINSTANCE hInstan。

    熊***

    2019-01-06 01:57:55

类似问题

换一换

相关推荐

正在加载...

热点检索

  • 1-20
  • 21-40
  • 41-60
  • 61-80
  • 81-100
  • 101-120
  • 121-140
  • 141-160
  • 161-180
  • 173-192
返回
顶部
帮助 意见
反馈

确定举报此问题

举报原因(必选):