登录
首页 » Visual C++ » EX_8

EX_8

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

  • logic
    逻辑航迹起始算法代码,实现简单的逻辑算法(logical algorithm for Track initiation)
    2012-05-14 12:43:43下载
    积分:1
  • hotq
    最近从书上看到的非线性解题法的一个程序,共享下(Recently from the book to see non-linear problem-solving method of a program to share the)
    2011-10-04 09:51:17下载
    积分:1
  • CSCE575_ProgrammingAssignment1_Oladiran
    802.11 SIMULATION REPORT AND SOURCE CODE
    2014-08-28 04:43:01下载
    积分:1
  • cplex
    cplex中文教学ppt ,cplex是商用混合整数规划软件,编制的程序对模型进行全局优化。(The cplex Chinese teaching ppt, cplex commercial mixed integer programming software, the program prepared by the global optimization model.)
    2020-12-18 08:19:11下载
    积分:1
  • UltimateToolBox93
    UltimateToolBox93代码、文档、例子(UltimateToolBox93)
    2009-03-22 12:58:29下载
    积分:1
  • fangxing
    这是一个应用一致性几何绕射理论编写的简单程序,初学学者可作为参考(This is a simple program UTD written application, can be used as a reference for beginners and scholars)
    2021-01-13 16:48:53下载
    积分:1
  • CTrayIconPosition_src
    一个控制托盘图标位置的例子(-An example of controling the ico position of tray)
    2003-10-23 11:23:05下载
    积分:1
  • polyphase
    这个是多相滤波的MATLAB程序,做接收机的同学可以参考的(this is a polyphase programme)
    2013-11-06 20:01:53下载
    积分:1
  • 123
    说明:  matlab 编程实现人体跟踪与检测编程实现人体跟踪与检测(matlab)
    2010-04-19 11:38:35下载
    积分:1
  • 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
  • 696516资源总数
  • 106914会员总数
  • 0今日下载