C++ 数据结构、算法笔试题
1.定义一个”数据类型”datatype类,能处理包含字符型、整型、浮点型三种类型的数据,给出其构造函数。()#includeclassdatatype{enum{character,integer,floating_point}vartype;union{charc;inti;floatf;};public:datatype(charch){vartype=character;c=ch;}datatype(intii){vartype=integer;i=ii;}datatype(floatff){vartype=floating_point;f=ff;}voidprint();};void...
相关推荐
-
Michael Moorcock - Elric 6 - StormbringerVIP免费
2024-12-08 18 -
Michael Crichton - PreyVIP免费
2024-12-08 21 -
Mercedes Lackey - WintermoonVIP免费
2024-12-08 19 -
Mercedes Lackey - SE 1- Born To RunVIP免费
2024-12-08 17 -
Mercedes Lackey - Heralds of Valdemar 1 - Arrows Of The QueeVIP免费
2024-12-08 21 -
Melville, Herman - TypeeVIP免费
2024-12-08 28 -
MaryJanice Davidson - [Betsy 5] - Undead and Unpopular (v1.0)VIP免费
2024-12-08 34 -
Marion Zimmer Bradley - Darkover - The Heirs of HammerfellVIP免费
2024-12-08 36 -
MacDonnell, J E - 096 - Execute!VIP免费
2024-12-08 23 -
Lovecraft, H P - The Dream Quest Of Unknown KadadthVIP免费
2024-12-08 37
作者详情
相关内容
-
2015年6月英语四级真题答案及解析(卷二)
分类:外语学习
时间:2025-05-02
标签:无
格式:PDF
价格:5.8 玖币
-
2015年6月英语四级真题答案及解析(卷三)
分类:外语学习
时间:2025-05-02
标签:无
格式:PDF
价格:5.8 玖币
-
2016年12月六级(第二套)真题
分类:外语学习
时间:2025-05-02
标签:无
格式:PDF
价格:5.8 玖币
-
2016年12月六级(第三套)真题
分类:外语学习
时间:2025-05-02
标签:无
格式:PDF
价格:5.8 玖币
-
2016年12月六级(第一套)真题
分类:外语学习
时间:2025-05-02
标签:无
格式:PDF
价格:5.8 玖币


渝公网安备50010702506394