登录
首页 » Visual C++ » EX_8

EX_8

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

  • MixFigure
    很有用的关于VC和matlab混合编程的例子,值得大家学习(Very useful on the VC and matlab examples of hybrid programming, what is worth learning)
    2007-11-23 11:19:29下载
    积分:1
  • tqjs
    说明:  实现大地测量学中,椭球参数解算。(包括正解和反解)(Achieve geodesy, the ellipsoid parameters solver. (Including the positive solution and counter-solution))
    2010-03-30 22:11:08下载
    积分:1
  • MMattlabmodeeA
    全数字调制解调器MATLAB仿真真源代码,超级实用,下载即可使用。 (All-digital modem MATLAB simulation is really the source code, super-practical, can be used to download.)
    2012-07-26 11:45:01下载
    积分:1
  • binary_code_new
    信号分选,雷达信号分选,雷达对抗信息处理(Signal sorting Radar signal sorting, radar information processing)
    2012-09-13 13:17:16下载
    积分:1
  • sigma32(MC)
    说明:  用Monte Carlo方法,模拟E.coli中sigma32因子对热休克基因的调控机理,与文献吻合很好。(Monte Carlo simulation E.coli sigma32 factor on heat shock gene regulatory mechanism, good agreement with literature.)
    2005-12-10 18:32:19下载
    积分:1
  • matlab-H
    matlab处理图像代码,很不错,值得看看(matlab image processing code, very good, worth a look)
    2013-11-15 16:45:28下载
    积分:1
  • matlab_vc
    matlab与VC的图像处理的混合编程源代码,如果对于混合编程有兴趣的人这是不可多得的好程序!(matlab image processing and VC hybrid programming source code, if there is interest for mixed programming of the people This is a rare good program!)
    2009-03-13 20:58:45下载
    积分:1
  • backwardforward
    backwardfoeward load flow for distribution network
    2014-02-14 00:30:57下载
    积分:1
  • paint
    通过鼠标控制画点,线,封闭的线,同时右击选项话出什么类型的点,线(Mouse control by drawing points, lines, closed the line, while right-click options, then what kind of point, line)
    2014-12-12 13:33:40下载
    积分:1
  • rtdx
    matlab 中关于RTDX的应用,含有例程,适合初学者学习(matlab on RTDX application contains routines, suitable for beginners to learn)
    2009-09-12 13:45:28下载
    积分:1
  • 696518资源总数
  • 106242会员总数
  • 10今日下载