登录
首页 » Visual C++ » EX_8

EX_8

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

  • fuzzy-fusion123
    非常经典的基于模糊信息处理的数据融合方法研究.用MATLAB 实现的。 请大家好好学习(Very classical information processing based on fuzzy data fusion method. Using MATLAB realization. Please study hard)
    2008-04-03 11:18:57下载
    积分:1
  • DEVIL
    没有什么好的程序,就是一个简简单单的8数码(No good program, that is simply one of the eight digital)
    2009-12-25 10:56:41下载
    积分:1
  • -wavefront
    波前曲扭和幅度变化对阵列测向中相干源分辨的影响(Twisted and curved wavefront amplitude variation to distinguish the impact of coherent source direction finding in an array)
    2013-12-26 12:54:01下载
    积分:1
  • fuzzy
    简单介绍了模糊控制器的隶属度函数的matlab代码输入(A brief introduction to the fuzzy controller matlab code input membership function)
    2013-12-06 21:04:47下载
    积分:1
  • 07532376optics
    牛顿环 杨氏双缝的MATLAB代码,很实用,很准确(Young' s double-slit Newton ring MATLAB code, very practical, very accurate)
    2015-04-05 12:55:06下载
    积分:1
  • MatlabDlg
    matlab与VC混合编程,输入方程,与自变量范围,就可以计算方程的值,与倒竖值。(mixed programming with VC matlab input equation, and the scope of the independent variables, we can calculate the value equation, and the inverted vertical value.)
    2010-12-16 09:57:53下载
    积分:1
  • assitant
    编制一个统计特定单词在文本串中出现的次数和位置的程序(The preparation of a statistical specific words in the text string appear in the number and location of the procedure)
    2007-11-29 22:13:38下载
    积分:1
  • siftsurf
    siftdemo原码(MATLAB),SURF是C++文件,检测可以使用。(siftdemo original code (MATLAB), SURF is a C++ file。they can be used 。)
    2015-03-25 15:25:06下载
    积分:1
  • ConvertGpsTime
    在matlab软件中将GPS时间转换成周和周秒(Convert Gps Time)
    2011-09-14 11:01:53下载
    积分:1
  • HsT2Hlp_Demo
    HsT2Hlp_Demo,中信证券api简单的api示例(HsT2Hlp_Demo, CITIC Securities api api simple example)
    2014-02-13 10:49:59下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载