登录
首页 » Visual C++ » EX_8

EX_8

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

  • richtest
    说明:  故障诊断工作涉及的领域相当广泛,需要不同分工的人员合作完成,本软件力图为故障诊断不同分工的工作者的合作交流提供一个简易的实验性系统平台。(fault diagnosis involves a fairly wide area, the division of the need to cooperate to complete, The software is trying to fault diagnosis division of the workers of cooperation and exchange with a simple experimental system platform.)
    2006-04-19 16:44:55下载
    积分:1
  • WKBCal
    说明:  光通信计算,利用公式计算折射率分布,特别为化学方法产生的器件(optical communication, the use of the refractive index distribution formula, particularly for the chemical device)
    2021-05-13 23:30:03下载
    积分:1
  • lzw_compression
    编程实现lzw编码 (Programming lzw coding )
    2010-11-14 15:59:47下载
    积分:1
  • MATLAB7.0
    一个关于matlab的教程,对于初学者来说是非常有用的(A tutorial on matlab for beginners is very useful)
    2011-06-26 12:50:02下载
    积分:1
  • pb
    phone book for add or remove telephone numbers in text file
    2014-01-12 19:01:34下载
    积分:1
  • firls
    matlab fir LPF least square error with zeroa weighted
    2013-11-21 21:35:15下载
    积分:1
  • kaifudexin.rar
    给创新工场求职者的一封信 有兴趣的看一下(Innovative workshops to job seekers interested in a look at a letter)
    2010-01-11 15:02:34下载
    积分:1
  • os
    说明:  Programming technique for matlab
    2013-03-04 23:02:31下载
    积分:1
  • C
    说明:  QuanXuan primary gaussian elimination technique solution of linear equations
    2011-04-20 15:10:16下载
    积分:1
  • mv
    说明:  matlab 与 vc 混合编程 自带的例程(matlab and vc )
    2009-04-04 09:32:37下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载