-
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
-
matlab-guide-to-finite-element
国外计算机经典教材,MATLAB有限元分析与应用。该书为中译本,详尽介绍了有限元分析的各种方法。(MATLAB guide to finite elements.)
- 2013-12-24 00:07:01下载
- 积分:1
-
WINODWS-os
顯示WINDOWS的版本,用visual c++寫的(Show WINDOWS version, written with visual c++)
- 2013-11-20 13:50:02下载
- 积分:1
-
main
this is a new alghorithm about tabu search....
- 2013-05-26 16:48:25下载
- 积分:1
-
matlab_VC
matlab与vc的混合编程说明,主要是如何配置环境,有详细的截图说明(the help for together using of matlab and VC6.0,including collocate environment and giving detailed
illustrate
)
- 2012-01-03 21:48:36下载
- 积分:1
-
xinxichaxun
文件中单词信息查询功能,包括输入文件,查找,修改,删除,查看
- 2009-12-30 11:17:06下载
- 积分:1
-
chazhinihe
matlab的经典算法--用于各种插值与拟合(matlab classical algorithm- interpolation and fitting)
- 2010-01-29 10:24:45下载
- 积分:1
-
rili
找到的一个比较实用的日历程序源码,用于开发与日期相关的程序,替代Calendar,实现其无法改变颜色等操作(To find a more practical calendar program source code, for the development of date-related procedures, alternative Calendar, realize that it can not change the color and other operations)
- 2013-08-05 17:30:50下载
- 积分:1
-
Kofsky-Code-Orange
人脸检测,matlab源码,适合初学者使用,包括Adaboost及Haar-like特征提取(face detectiom)
- 2013-09-24 14:50:30下载
- 积分:1
-
Untitled1
matlab绘制阵列正六边形。采用角度方法。(Draw a regular hexagon array matlab. Using the angle method.)
- 2014-01-27 17:04:28下载
- 积分:1