-
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
-
DFTOFDM
Based on the Matlab script for DFT-S-OFDM with plot
- 2010-07-11 18:14:12下载
- 积分:1
-
pso
一个粒子群算法的matlab程序代码 很经典的 对于研究粒子群算法的人很有帮助( pso matlab)
- 2010-12-27 23:26:23下载
- 积分:1
-
Kalman
卡尔曼滤波的基础上简要介绍了和处理代码。过程通过随机噪音过滤掉,以获取原始信号。(Kalman filter based on a brief introduction and processing code. Process through the filter out random noise to obtain the original signal.)
- 2009-04-23 20:10:25下载
- 积分:1
-
yunchengxu
说明: 内附几十种小程序,有状态机、比较器、波形发生器、乘法器、加法器、步进电机控制器等,希望大家能用的上。(Containing dozens of small programs, for reference,This is about FPGA,a tool ,we can study,but in ourselves.)
- 2010-04-29 16:00:25下载
- 积分:1
-
em
说明: 分类方法,最大期望值算法,利用概率进行分类(The classification method, EM algorithm, is classified by probability)
- 2017-07-11 08:53:41下载
- 积分:1
-
Control_system_analysis_design_and_application_MAT
何衍庆《控制系统分析、设计和应用——MATLAB语言的应用》(He Yanqing " Control system analysis, design and application- MATLAB language application" )
- 2010-12-02 21:48:21下载
- 积分:1
-
Nonlinear-optimization-matlab.zip
非线性优化-matlab函数库-optimset.zip(Nonlinear optimization-matlab function library-optimset)
- 2013-08-05 09:31:24下载
- 积分:1
-
art-3A10.1007-2Fs11771-010-0521-5
SPRINGER PAPER FOR EMPIRICAL ODE DECOMPOSITION
- 2013-12-14 22:23:46下载
- 积分:1
-
psn_matlab
matlab code for 2d poissone equ solver
- 2010-05-11 15:57:52下载
- 积分:1