-
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-Central-File-Exchange--YALMIP
解决整数线性规划的yalmip工具箱,比较好用的(Solve the integer linear programming yalmip toolbox, more useful)
- 2011-01-20 11:39:41下载
- 积分:1
-
matlabparallelcomputing
matlab并行计算 很好很系统的讲诉并行计算在matlab是如何操作的(matlab parallel computing good system v. matlab parallel computing is how to operate)
- 2020-07-03 17:20:02下载
- 积分:1
-
SDPT3-4.0-beta
SOStools is a toolbox dedicated for positive polynomial programming, especially for Sums of Squares (S0S). A lot of chinese researchers have carried it out as a main tool in this area. (SOStools is a toolbox dedicated for positive polynomial programming, especially for Sums of Squares (S0S). A lot of chinese researchers have carried it out as a main tool in this area.)
- 2008-04-28 20:38:41下载
- 积分:1
-
matlabjc
matlab程序设计教程,ppt,共分13章(matlab programme design teaching material,ppt, having 13 charpter)
- 2009-05-12 21:48:25下载
- 积分:1
-
Animation_production
说明: MATLAB动画制作代码,含多种动作,是演示的好实例(MATLAB animation code, containing a variety of actions, is to demonstrate a good example of)
- 2010-03-17 01:46:01下载
- 积分:1
-
arwa1
本是一个含PID控制器的线性控制系统的程序(this a PID controller with the linear control system procedures.)
- 2006-06-21 20:36:27下载
- 积分:1
-
hatchfillpkg
In MATLAB, there are many functions that create regions filled with solid colors (e.g. contourf, area, bar).
- 2011-09-09 17:11:03下载
- 积分:1
-
HistEqEdu(1)
matlab projects, histogram equalization
- 2012-01-26 01:44:41下载
- 积分:1
-
fhss
FHSS matlab code
this code is a matlab-based code for simulating a FHSS system.
- 2015-04-12 14:34:07下载
- 积分:1