-
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
-
bbbb
用数组的方式求鞍点。开始时假设a[i][0]最大,将列号0赋给maxj保存,找出第i行中的最大者。。(With an array of ways for saddle point
)
- 2014-12-03 22:25:05下载
- 积分:1
-
gold
黄金分割法,要用的自己下来看看吧,很好的优化程序
(Golden section method, we should take a look at it from their own, a good optimizer)
- 2009-05-01 21:32:51下载
- 积分:1
-
assitant
编制一个统计特定单词在文本串中出现的次数和位置的程序(The preparation of a statistical specific words in the text string appear in the number and location of the procedure)
- 2007-11-29 22:13:38下载
- 积分:1
-
SVM
SVM算法在 matlab实现, 包含说明书,源代码等(SVM experiment on matlab)
- 2015-01-28 20:15:25下载
- 积分:1
-
shuzishuiyin
数字水印源码,基于matlab的,可实现,共同分享。(Digital watermarking source code, based on the matlab can be realized.)
- 2013-07-18 00:50:08下载
- 积分:1
-
VC_matlab_hybrid-programming
vc和matlab混合编程资料,讲述了如何让配置文件,和其中遇到问题的解决办法(vc and matlab mixed programming information about how to make the configuration file, and which solutions to the problems encountered)
- 2021-03-04 19:59:32下载
- 积分:1
-
AdaptiveTechniquesforMultiuserOFDM
这是一个非常好的关于OFDM的英文文章,它是国外的博士论文,对于想了解整个OFDM的朋友来说,可以了解到许多中文文章所没有的知识。(This is a very good article in English on OFDM, which is the doctoral thesis abroad, who want to understand the overall OFDM' s friends, you can understand that many Chinese do not have knowledge of the article.)
- 2010-07-18 11:34:02下载
- 积分:1
-
read_mat
读取matlab的mat文件(read the document mat)
- 2004-08-30 22:06:34下载
- 积分:1
-
dataprocesswithvcandmatlab
如何在vc环境下利用matlab工具箱进行数据处理(how to do data processing in vc++ with the toolbox of matlab)
- 2009-11-22 15:57:22下载
- 积分:1