文件名称:leiyuduixiang
- 所属分类:
- 教育/学校应用
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 241kb
- 下载次数:
- 0次
- 提 供 者:
- yup***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
1.定义一个学生类Student,学生类中有3个私有数据成员:name(姓名)、cls(班级)、grade(年级);3个公有成员函数;Student(构造函数)、display、~Student(析构函数)。使用构造函数为Student类的对象赋值(name使用动态内存分配空间),display负责显示学生的基本信息,在析构函数中释放动态分配的内存-1. Definition of a student class Student, student class has three private data members: name (name), cls (class), grade (grade) three public member function Student (constructor), display, ~ Student (destructor function). Use the constructor for the object of Student class assignments (name space using dynamic memory allocation), display the basic information that the student is responsible for the destructor to release dynamically allocated memory
(系统自动生成,下载前可以参看下载内容)
下载文件列表
leiyuduixiang\Debug\lei_duixiang.exe
.............\.....\lei_duixiang.ilk
.............\.....\lei_duixiang.obj
.............\.....\lei_duixiang.pch
.............\.....\lei_duixiang.pdb
.............\.....\vc60.idb
.............\.....\vc60.pdb
.............\lei_duixiang.cpp
.............\lei_duixiang.dsp
.............\lei_duixiang.dsw
.............\lei_duixiang.ncb
.............\lei_duixiang.opt
.............\lei_duixiang.plg
.............\Debug
leiyuduixiang
.............\.....\lei_duixiang.ilk
.............\.....\lei_duixiang.obj
.............\.....\lei_duixiang.pch
.............\.....\lei_duixiang.pdb
.............\.....\vc60.idb
.............\.....\vc60.pdb
.............\lei_duixiang.cpp
.............\lei_duixiang.dsp
.............\lei_duixiang.dsw
.............\lei_duixiang.ncb
.............\lei_duixiang.opt
.............\lei_duixiang.plg
.............\Debug
leiyuduixiang