[Visual Studio C++] [MFC 除錯錯誤]: IntelliSense: 應輸入“)”
阿新 • • 發佈:2018-11-10
一.編譯問題描述:
IntelliSense: 應輸入“)” c:\Users\Tiddy_Nan\Documents\Visual Studio 2012\Projects\Simple Client Communication And Writing\Simple Client Communication And Writing\Simple Client Communication And WritingDlg.cpp 345 1 Simple Client Communication And Writing
二.原始碼:
void CSimpleClientCommunicationAndWritingDlg::OnBnClickedButtonComclose()
{
// TODO: 在此新增控制元件通知處理程式程式碼
DestroyTimer();
KillTimer(1);
closesocket( SocketClient );
WSACleanup();
}
三.錯誤程式碼:
WSACleanup();
四.解決辦法:
- 摘要:括號格式使用錯誤。
- 步驟:將()改為()。
*.問題成功解決。