-
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
-
vbmatrix
使用vb和matrix画图,调用matlab函数(Using vb and matrix drawing, call the matlab function)
- 2010-06-26 09:19:36下载
- 积分:1
-
atlexamp
Leveraging C++ Applications Using COM An Example Using ATL COM利用COM继承的文档视图结构的应用程序的例子(Leveraging C Applications Using COM An Example Using ATL COM COM files View succession of application examples)
- 2005-02-21 17:36:46下载
- 积分:1
-
matlab
这是matlab的一些程序希望对大家有用,谢谢了(This is some of the procedures of the matlab hope that useful, thank you)
- 2012-06-12 12:39:59下载
- 积分:1
-
zemax-Matlab
ppt文件,讲述如何使用matlab调用zemax中数据的文档(ppt file explains how to use the data in matlab call zemax document)
- 2013-08-07 13:09:18下载
- 积分:1
-
977a510187f7
基于c#的互相关函数计算,基于c#的互相关函数计算,基于c#的互相关函数计算,(Cross Correlation)
- 2015-03-08 15:51:48下载
- 积分:1
-
sysidjob5
此程序把M序列作为输入,使用最小二乘法对系统进行辨识,实现最小二乘的基本功能(M sequences in this program as input, using the least squares method to identify the basic functions of the least squares)
- 2012-06-09 17:14:47下载
- 积分:1
-
GetSpeDir
获取windows和system32的默认完整路径,初学者可以学习参考一下(Access to windows and system32 default the full path, beginners can learn to refer to)
- 2007-08-09 13:11:51下载
- 积分:1
-
Desktop
室内环境射线跟踪算法研究,这是对室内环境建模(Indoor Environment Research ray tracing algorithm, which is modeled on the indoor environment)
- 2014-02-23 20:57:04下载
- 积分:1
-
Svvehicle8i
汽车8自由度simulink模型,可乙乙进行各种汽车动力学控制及其仿真研究工作
(Automotive 8 degrees of freedom simulink model, B B a variety of vehicle dynamics control and simulation study of)
- 2012-07-16 17:29:20下载
- 积分:1