
C++编程(VC)
文章平均质量分 69
缘起性本空
缘起性空
展开
-
VC中dll的生成及使用(本来这几天在QT中用DLL)
1)首先建一个空的Win32 Dynamic-Link Library,名称为:mydll; 2)在工程中创建两个文件:mydll.h和mydll.cpp。 i)mydll.h中的内容如下: #ifndef _MYDLL_H #de原创 2011-09-13 16:36:25 · 931 阅读 · 0 评论 -
推荐的C++书籍以及阅读顺序
转自:http://blog.youkuaiyun.com/weiqubo/article/details/4839873 当读者有一定c/c++基础 推荐的阅读顺序: level 1 从>(可不看)开始,短小精悍,可以对c++能进一步了解其特性 以>作字典和课外读物,因为太厚不可转载 2011-09-27 16:41:16 · 554 阅读 · 0 评论 -
操作符重载
#include using namespace std; class Test { public: bool operator==( const Test&) const; Test& operator=( const Test&); int num;//(为了方便,放到公有成员) private: }; b原创 2011-10-23 17:03:05 · 436 阅读 · 0 评论 -
c++多态
class Parent { public: virtual void fun() { cout } }; class Child : public Parent { public: void fun() { cout } }; int main() { Parent *pP = new Parent(); Parent *pC =原创 2011-10-23 14:52:31 · 405 阅读 · 0 评论 -
侯捷观点(系列书评 1/2)
【C++/OOP 大系】 《程序员》2001.01 作者简介:侯捷,台湾电脑技术作家,着译评兼擅。常着文章自娱,颇示己志。 个人网站:www.jjhou.com 北京镜站:www.youkuaiyun.com/expert/jjhou ●开场白 《程序员》杂志邀我开一个专栏。我向来期待一本为程序员打造、以程序员为主体对象的刊物,因此这样的邀请很难推却。再加上蒋涛先生与我的私交,我於是要求转载 2012-05-01 14:29:03 · 1945 阅读 · 0 评论 -
计算器
#include <iostream> using namespace std; class Operation { public: double getFirstNum() const { return firstNum; } void setFirstNum(double firstNum) { Operation::fi...转载 2018-08-12 12:01:28 · 331 阅读 · 0 评论