根据传入的参数的不同,自动生成需要的类的对象 简单工厂模式只是解决对象的创建问题 Operation.h: 1 #pragma once 2 3 #include<iostream> 4 #include<string> 5 6 using namespace std; 7 8 class Oper Read More
posted @ 2020-11-26 21:03 _KikyoBK Views(93) Comments(0) Diggs(0)