⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 base.cpp

📁 压缩包里有教材<<C++模式设计-基于QT4开源跨平台开发框架>>所有源码
💻 CPP
字号:
#include "Base.h"#include <iostream>using namespace std;//startBase::Base() {    cout << "Base::Base() " << endl;    a();    c();}void Base::c(bool condition) {    cout << "Base::c()" << endl;}void Base::a() {    cout << "Base::A" << endl;    b();}void Base::b() {    cout << "Base::B" << endl;}Derived::Derived() {    cout << "Derived::Derived() " << endl;}void Derived::a() {    cout << "Derived::a()" << endl;    c();}void Derived::b() {    cout << "Derived::b()" << endl;}void Derived::c() {    cout << "Derived::c()" << endl;}//end

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -