
C/C++
文章平均质量分 50
相关内容
CJyoungNeverGivesUp
我很懒,还没有添加简介...
展开
-
MFC ExpandDlg帮助类
class CDlgExpander{ BOOL m_bIsInitialized; BOOL m_bIsExpanded; int m_IdExpandButton; int m_IdCollapsedMark; CWnd *m_pDialog; CRect m_dialogrect;public: CDlgExpander() { m_bIsInitialized = FALSE; }; // call this function from the OnInitDialo原创 2022-03-20 21:12:28 · 295 阅读 · 2 评论 -
C++正则表达式常用API详解
Regular ExpressionDefination : a regular expression is a specific pattern that provides concise and flexible means to “match” strings of text, such as particular characters,words or patterns of chararters.注意一些符号的组合^出现在[ ]里面时表示Not inside注意substring、who原创 2022-03-13 16:15:14 · 1605 阅读 · 0 评论 -
vector在push_back时发生的拷贝构造分析
vector在push_back时发生的拷贝构造分析在使用vector push_back 某个类对象时,会调用这个类的拷贝构造函数,如果vector里存的是这个指针类型的对象,则不会。下面用测试代码做简单分析:#include <iostream>#include <vector>using namespace std;class People{public: explicit People(int _age) : m_age(_age) //explicit原创 2022-01-03 11:31:09 · 2337 阅读 · 0 评论 -
关于MFC关于界面与逻辑分离问题
参考文章:vc/mfc程序开发,关于界面与逻辑分离问题-优快云社区MVC in MFC or WTL - HoneyComb - 博客园 (cnblogs.com)(34条消息) MVCinMFCorWTL_wtlmfc选择-C++代码类资源-优快云文库转载 2021-12-05 23:34:03 · 462 阅读 · 0 评论