
C++绘图应用
vonmax007
To achieve victory we must mass our forces at the hub of all power & movement.The enemy's 'center of gravity'----Von Clausewitz
展开
-
MFC中窗口刷新函数详解
MFC中窗口刷新函数详解 <div class="article_manage clearfix"> <div class="article_r"> <span class="link_postdate">2016-10-09 10:26</span> <span class="link_view"原创 2017-05-14 21:15:45 · 5261 阅读 · 0 评论 -
MFC实现excel的读写操作
这个是使用ODBC来完成的第一步:建立基于对话框的MFC工程,命名为MfctoExc;第二步:添加两个头文件到stdafx.h, #include <afxdb.h> #include <odbcinst.h>第三步:添加两个按钮控件和一个List Box控件,给List Box添加控制变量CListBox m_ExcelList;添加DDX_Control(pD转载 2017-06-03 10:34:04 · 8397 阅读 · 2 评论 -
C++构造函数与析构函数能否为虚函数
结果:构造函数不能声明为虚函数,析构函数可以声明为虚函数,而且有时是必须声明为虚函数。不建议在构造函数和析构函数里面调用虚函数。引用 To construct an object, a constructor needs the exact type of the object it is to create. Consequently, a constructor cannot be virtu原创 2017-08-17 11:55:13 · 385 阅读 · 0 评论