-
EX_8
(1) 新建一个工程demo2,设计一个类Student,其成员变量包括学号(no)、姓名(name)、性别(sex)、专业(major)、联系方式(phone)和地址(addr)。
(2) 为类Student定义成员函数writeTo,实现从给定文本文件中读取学生数据,接口如下:
void writeTo (char filename[ ])
(3) 为类Student定义成员函数readFrom,实现将学生数据保存到给定文本文件,接口如下:
void readFrom (char filename[ ])
((1) Create a new project demo2, design a class Student, whose member variables, including school (no), name (name), gender (sex), specialty (major), contact details (phone) and address (addr). (2) define the Student class member function writeTo, students achieve reading data a given text file, the interface is as follows: void writeTo (char filename []) (3) define the Student class member function readFrom, students will achieve data save to text file given, the interface is as follows: void readFrom (char filename []) )
- 2016-05-13 19:01:27下载
- 积分:1
-
ostu
最大类间方差法求阈值(thanks)
- 2010-05-22 17:58:40下载
- 积分:1
-
AE
说明: AppWizard has created this AE application for you. This application
not only demonstrates the basics of using the Microsoft Foundation classes
but is also a starting point for writing your application.
- 2010-05-14 14:02:22下载
- 积分:1
-
lmsuanfa
一种LM算法,主要用于方程式的求解,具有较好的准确性和鲁棒性(A LM algorithm, mainly used to solve equations with good accuracy and robustness)
- 2011-04-25 20:05:12下载
- 积分:1
-
ASK_Pro
ASK通信系统的设计与仿真c++代码实现(ASK communication system design and Simulation of c++ code to achieve)
- 2012-03-02 16:35:01下载
- 积分:1
-
Power_Control
LTE系统中 功率控制,开环闭环功率控制,(LTE power control)
- 2015-04-08 10:54:02下载
- 积分:1
-
Hurst
hurst指数计算宏,计算简单,效率较高(Hurst index macros, computing simple, efficient)
- 2007-03-09 17:30:31下载
- 积分:1
-
matlab4
利用matlab进行五点三次法平滑处理(时域和频域)(Using matlab 5.3 times France smoothing process (time domain and frequency domain))
- 2013-09-15 10:46:29下载
- 积分:1
-
VC++Matlab
说明: vc++与matlab混合编程快速实现!PDF文档下载(vc++ with matlab realize mixed language programming fast! PDF document download)
- 2008-09-07 12:56:51下载
- 积分:1
-
rengongwangl
模式识别MATLAB代码模式识别M模式识别MATLAB代码ATLAB代码(Pattern of all kinds of matlab algorithm
)
- 2010-05-31 16:25:05下载
- 积分:1