摘要:
实验7:单例模式 [实验任务一]:学号的单一 仿照课堂的身份证的例子,实现每个同学仅有一个学号这一问题。 直接放源码: #include<iostream> #include<string> using namespace std; //单例角色——StudentNo类 class StudentN 阅读全文
posted @ 2022-10-11 19:47
Lindseyyip
阅读(21)
评论(0)
推荐(0)
浙公网安备 33010602011771号