登录
首页 » Visual C++ » EX_8

EX_8

于 2016-05-13 发布 文件大小:5397KB
0 246
下载积分: 1 下载次数: 3

代码说明:

  (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 []) )

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • drbd-8.3.6.tar
    drbd源文件,热备使用,与heartbeat配合使用,drbd源文件,热备使用,与heartbeat配合使用(DRBD source file, use hot standby, and heartbeat, DRBD source file, use hot standby, used with the heartbeat)
    2013-12-03 21:16:49下载
    积分:1
  • Matlabsimulation
    通过M atlab 模拟了随机产生的一定概率分布的信号序列, 叠加高斯噪声后利用最大后验概率(MAP)检 测到的误码率, 做出BER~ SNR曲线, 并与理论计算得到的曲线进行比较, 两者吻合.(M atlab simulated by a certain probability distribution of random signal sequence, use of superposition of Gaussian noise is the maximum a posteriori (MAP) detection to the error rate, making BER ~ SNR curves obtained with the theoretical curve of the combined fit.)
    2010-12-05 09:51:59下载
    积分:1
  • chengxu
    参数变化对最小相位系统的影响,动态矩阵算法(DMC)仿真实例。(Effects of parameter changes on the minimum-phase system。Dynamic matrix algorithm (DMC) simulation.)
    2013-12-27 13:59:53下载
    积分:1
  • surshrHEDA
    基于直方图的分布估计算法matlab源程序,测试函数选用的是30维函数(for h=1:m for j=1:((x2-x1)/binswidth) if (x(h)>=x1+(j-1)*binswidth)&(x(h)<x1+j*binswidth) H(j)=H(j)+1 end end end [wid,len]=size(H) H=H/(wid*len) objvalue=sort(objvalue, descend ) for j=1:((x2-x1)/binswidth))
    2013-03-15 10:44:15下载
    积分:1
  • segy
    说明:  该程序用来读取地震原始资料segy格式的数据,也可以增加些模块对数据进行处理(The program used to read raw data segy seismic data format can also be added so that the data processing module)
    2011-04-05 21:11:59下载
    积分:1
  • 92421039VC-CALL-matlab.m
    vc调用matlab中自定义的.m函数,对于混编简单的例子(Vc call custom in matlab. M function,For simple example mixed)
    2013-09-23 09:31:41下载
    积分:1
  • -FDTD-
    集总元件的多网格FDTD模型及其在混合电路中的应用(Multi-Grid FDTD model and its application in the mixed lumped circuit elements)
    2013-12-04 19:26:32下载
    积分:1
  • LHM-c-code-plot-use-matlab
    c code for LHMs and using the matlab to plot the field
    2010-11-02 21:59:32下载
    积分:1
  • dts_pss_crf
    用于蛋白质数据生成分类数据的转换。做PSS(Protein Secondary Structure prediction)的可以参考一下。 (for protein production data disaggregated data conversion. Do PSS (Protein Secondary Structure prediction ) can be examined.)
    2007-03-04 22:01:32下载
    积分:1
  • Compressive-Sensing
    压缩感知理论和应用,介绍基本理论和方法,入门书(Compressive Sensing- Theory and Application)
    2015-03-31 10:56:50下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载