登录
首页 » Visual C++ » EX_8

EX_8

于 2016-05-13 发布 文件大小:5397KB
0 124
下载积分: 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 个回复

  • ClientLogon
    new raja login gm tool
    2014-01-29 14:12:55下载
    积分:1
  • Angular-precision
    基于均匀圆阵的信号二维方向角高精度估计 (Angular precision estimates based on two-dimensional uniform circular array signal direction)
    2013-12-08 17:06:55下载
    积分:1
  • displaytools
    绘制地震图形matlab软件包,可采用不同方式进行剖面成图实现(Seismic mapping matlab graphics package, to be used in different ways to realize profile mapping)
    2008-05-08 06:31:45下载
    积分:1
  • SeismoSignal-v4.3.0_build101---
    将加速度积分成速度位移,并且滤波,很好用(Displacement velocity integral of the acceleration and filtering, the good)
    2020-11-11 16:29:44下载
    积分:1
  • MCT2008-for-ges
    固高所有GE运动控制卡的DEMO软件,用来测试板卡是否正常工作(Googol all GE motion control card DEMO software, used to test the board is working correctly)
    2014-11-19 12:23:25下载
    积分:1
  • Chomsky
    chomsky文法判断,0,1,2,3四种文法类型的判断(chomsky)
    2009-12-28 19:49:50下载
    积分:1
  • vVB__kalmaanb
    vb语言实现的卡尔曼滤波源程序源码 (没有测测试,输出部分要配合相应的过程) (the vb language Kalman filtering source source (not detected by the test, the output section with the corresponding process))
    2012-08-29 22:49:37下载
    积分:1
  • raft
    MATLAB的通用飞行器仿真MATLAB simulation of the general aircraft(MATLAB simulation of the general aircraft)
    2011-04-25 19:14:06下载
    积分:1
  • VCmatlab
    利用matlab提供的引擎接口函数与VC联合开发编程,可在VC中充分发挥matlab强大的数值运算功能,弥补VC中数值运算函数的不足(err)
    2008-01-08 11:23:02下载
    积分:1
  • test3
    vc和mat混合编程,利用matlab的com组件来实现mat和vc的混合编程(vc and mat mixed programming, the use of matlab' s com vc components to achieve mat and Hybrid Programming)
    2011-04-25 09:54:16下载
    积分:1
  • 696518资源总数
  • 104269会员总数
  • 42今日下载