作者:
Ommm5566 (56天團)
2016-07-01 20:31:07開發平台(Platform): (Ex: VC++, GCC, Linux, ...)
VC++
額外使用到的函數庫(Library Used): (Ex: OpenGL, ...)
window.h
問題(Question):
為什麼第6行宣告WndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
但是第32行卻可以wc.pfnWndProc = WndProc;
正常函式使用至少也要有小括號吧 例如至少 WndProc();
餵入的資料(Input):
無
預期的正確結果(Expected Output):
錯誤結果(Wrong Output):
無
程式碼(Code):(請善用置底文網頁, 記得排版)
http://www.winprog.org/tutorial/simple_window.html