2017年3月21日

摘要: C++多态 #include <iostream> #include <iomanip> using namespace std; class Base { public: virtual void f() { cout << "base" << endl; } }; class Derived : 阅读全文

posted @ 2017-03-21 23:42 sylar少侠 阅读(182) 评论(0) 推荐(0) 编辑


Copyright © 2024 sylar少侠
Powered by .NET 8.0 on Kubernetes