登录
首页 » Visual C++ » EX_8

EX_8

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

  • high-pass-filter-matlab-
    三维数字滤波器中的理想高通滤波器的matlab仿真及其结果(3 d digital filters in an ideal high-pass filter matlab simulation and the result)
    2011-12-13 15:41:24下载
    积分:1
  • chap4
    这是matlab第四章的ppt,希望对你的学习有帮助,多谢笑纳!(This is the fourth chapter matlab ppt, want to help you learn, thank you accept my gift!)
    2010-06-08 09:16:38下载
    积分:1
  • TRI
    教你如何绘制三角形,带源代码!!!教你如何绘制三角形,带源代码!!!!(Teach you how to draw Triangle)
    2010-01-05 16:44:28下载
    积分:1
  • Uniform_Extraction
    该程序实现了字符串提取算法,算法中使用了Boost库来处理字符串。(The program implements string extraction algorithm, the algorithm uses the Boost library to handle strings.)
    2012-11-02 12:00:05下载
    积分:1
  • APMTMLHDGV01Ver2001
    APMTMLHDGV01Ver2001_Tools_Software_general_05011YXC.rar华为手机刷机平台(Tools Software general )
    2014-09-10 21:02:40下载
    积分:1
  • APFSVPWM
    APF仿真模型,用于动态补偿系统的无功功率!(APF simulation model for dynamic compensation system reactive power!)
    2013-05-07 15:35:46下载
    积分:1
  • tezhengtiqu3
    关于医学上心电的检测,包含了心电的各个方面(About Medical cored electrical testing, including all aspects of ECG)
    2015-03-31 12:57:18下载
    积分:1
  • Cl_-matcont5p3
    利用matcont求解连续性非线性动力学问题并画图求出其稳定解(Use matcont problem solving nonlinear dynamics of continuity and drawing its stable solution is obtained)
    2021-03-13 13:49:24下载
    积分:1
  • 19_04
    Adaptive background mixture models for real-time tracking
    2015-03-15 19:05:15下载
    积分:1
  • CS-Channel-Estimation
    信道估计程序,ieee发表的文章对应的原码,本人已经验证,可以使用。(Channel estimation procedures, ieee post corresponding to the original code, I have verified that you can use.)
    2013-10-25 21:08:24下载
    积分:1
  • 696518资源总数
  • 105873会员总数
  • 12今日下载