登录
首页 » Visual C++ » EX_8

EX_8

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

  • TP1_CHEN
    建立关于分数的类,并进行加减乘除等相关运算的C++代码 (Establishment of the scores of the class, and other related operations of addition, subtraction C++ code)
    2015-02-28 01:43:45下载
    积分:1
  • 96 在CC++中调用Matlab
    在CC++中调用Matlab,Matlab应用广泛,但怎样在CC++中调用呢?(Calling Matlab and Matlab widespread use, but how the CC call?)
    2005-08-14 21:09:51下载
    积分:1
  • 4VCaMatlab-paper
    VC调用matlab 编程的论文,值得参考(VC call matlab programming paper, worth considering)
    2011-09-30 09:46:40下载
    积分:1
  • sorting-and-search-alg
    search,sorting algorithm insertion,binary,merge sort application include c++ language
    2014-12-03 17:18:29下载
    积分:1
  • 20060816
    以网格作为逻辑结构,具有高联通,低负载,扩展性强的特点。经分析表明,该方案更高效、安全、抗攻击能力更强。(To the grid as a logical structure, with high Unicom, low load, expansion and strong features. The analysis shows that the program more efficient, safe, stronger anti-attack capability.)
    2010-03-10 13:43:30下载
    积分:1
  • findSaddledot
    找出一个4行5列的二维数组的”鞍点”,即该位置上的元素在该行上最大,在该列上最小。也有可能没有鞍点。(identify a line 4 5 2-D array of "saddle point," that is the position of the element in the largest firms, out of the smallest. They may not saddle point.)
    2007-06-10 15:57:59下载
    积分:1
  • xu
    说明:  这是个滤波器设计程序编码,希望各位朋友看看!(滤波器设计)
    2010-12-26 10:21:19下载
    积分:1
  • VCCurve
    说明:  windows下用来画曲线的小程序,看看好不好用(windows under the curve for painting small procedures to see is really handy)
    2006-05-01 15:42:34下载
    积分:1
  • -FDTD-
    集总元件的多网格FDTD模型及其在混合电路中的应用(Multi-Grid FDTD model and its application in the mixed lumped circuit elements)
    2013-12-04 19:26:32下载
    积分:1
  • VC-a-MATLAB-programming-in-SAR
    VC与MATLAB混合编程,可以用于SAR图像处理(VC mixed with the MATLAB programming, which can be used for SAR image processing)
    2013-12-18 20:26:20下载
    积分:1
  • 696518资源总数
  • 106265会员总数
  • 10今日下载