摘要: 成员变量关联: private: CMFCButton m_btnColorTest; CMFCButton* m_pBtnColor; // CMFCAppColorDlg 对话框 #define DELETE(ptr) do{if (ptr) {delete ptr; ptr = nullptr 阅读全文
posted @ 2024-02-19 19:22 double64 阅读(333) 评论(0) 推荐(0)
摘要: #include "afxwin.h" #include <iostream> using namespace std; int main() { CString cs = _T("西游记"); AfxMessageBox(_T("CString:") + cs); // CString 转 ACS 阅读全文
posted @ 2024-02-19 14:23 double64 阅读(397) 评论(0) 推荐(0)
摘要: #include <iostream> using namespace std; typedef int INT, * PINT; typedef int* PINT32, INT32; int main() { int* p, a; a = 10; p = &a; cout << *p << en 阅读全文
posted @ 2024-02-19 13:29 double64 阅读(31) 评论(0) 推荐(0)