-
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
-
estate
关于电力系统状态估计的MATLAB的源程序,敬请参考,不负侵权责任(On the MATLAB power system state estimation of the source, please refer to, live tort liability)
- 2010-05-12 14:49:32下载
- 积分:1
-
high-frequency-
高频段超方向性天线阵列设计 (Ultra high frequency band directional antenna array design)
- 2013-11-24 18:21:00下载
- 积分:1
-
rand
根据均匀分布陈胜的特点,产生了0-1均匀分布的随机序列(Produced a 0-1 uniformly distributed random sequence)
- 2013-11-19 09:10:58下载
- 积分:1
-
antenna-pattern1
采用口面积分的方法来计算天线方向图,天线设计常用(Orifice area divided by the method to calculate the antenna pattern, antenna design used)
- 2011-05-09 20:37:32下载
- 积分:1
-
Image-Compression
图像压缩算法的各种算法,用VC++实现,直接可以编译运行(Image compression algorithms algorithms, using VC++ implementation can be compiled to run directly)
- 2010-07-21 17:58:56下载
- 积分:1
-
tracker-code-2011.04.26
tracker code-tra an ozalp source code good use project in pls
- 2012-02-11 05:05:32下载
- 积分:1
-
VCMatlabToolDemo
VC++中使用Matlab进行数据操作,里面进行了详细介绍,附源代码。(VC++ using Matlab for data manipulation, which is described in detail, with source code.)
- 2010-05-27 09:12:55下载
- 积分:1
-
zhuanhuan
矩阵转换四元数代码
欧拉角转换四元数代码
四元数转换到矩阵代码(The quaternion matrix transformation code Euler angles conversion quaternion code converts quaternion to a matrix code)
- 2012-09-06 10:12:12下载
- 积分:1
-
MilliSecond
说明: 介绍如何在自己的应用程序中实现毫秒级的控制。(control in million second。 )
- 2010-03-28 09:28:23下载
- 积分:1