文件名称:Classes-and-objects-practice
-
所属分类:
- 标签属性:
- 上传时间:2013-05-18
-
文件大小:4kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
1. 声明通讯录类cComm包含姓名(Char*类型)、地址(char[50]类型)、订货量(int型)、总量(int型,静态数据成员),默认构造函数(分别用"David"、"Long island"、200)、复制构造函数、输出函数。使用c0、c1("Tina","Weiland mur",150)、c2(c1)、c3("Wei fei")、c4("Wash Lehn","Washington")检验,并输出四个订货量的总和)
2. 设计词典cDic类,从列表{asdfghjkl}查找对应位置的数字{123456789}或相反,建立转换函数,并将"akdhskgjfshd"和"125445274652794587365"分别转换-A statement address book class cComm of containing the name (char* type), address (char [50] type), order quantity (int), total (int type, static data members), the default constructor (with " David " Long Island" , 200), copy constructor, the output function. C0, c1 (" Tina" , " Weiland mur, 150), C2 (c1), C3 (Wei Fei), C4 (" Wash Lehn " ," Washington " ) test, and outputs the four-order quantity sum) Design Dictionary the CDIC class, find the corresponding position of the figures from the list {asdfghjkl} {123456789}, or vice versa, create a conversion function and " akdhskgjfshd" and " 125445274652794587365" conversion
2. 设计词典cDic类,从列表{asdfghjkl}查找对应位置的数字{123456789}或相反,建立转换函数,并将"akdhskgjfshd"和"125445274652794587365"分别转换-A statement address book class cComm of containing the name (char* type), address (char [50] type), order quantity (int), total (int type, static data members), the default constructor (with " David " Long Island" , 200), copy constructor, the output function. C0, c1 (" Tina" , " Weiland mur, 150), C2 (c1), C3 (Wei Fei), C4 (" Wash Lehn " ," Washington " ) test, and outputs the four-order quantity sum) Design Dictionary the CDIC class, find the corresponding position of the figures from the list {asdfghjkl} {123456789}, or vice versa, create a conversion function and " akdhskgjfshd" and " 125445274652794587365" conversion
(系统自动生成,下载前可以参看下载内容)
下载文件列表
类和对象编程二参考答案.doc
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.