登录
首页 » Visual C++ » EX_8

EX_8

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

  • list
    Program to implement a list data structure in C++ (partial) With debug output for poor-man s animation
    2007-11-10 15:25:40下载
    积分:1
  • matlab
    好好好好好好好好好好好好好好好好好好好好好好好好好好好好好好好好好好好好好好好好好好好好好好好好好好好好好好好好好好好好好好好好好好好好好好(Good good good good good good good good good good good good good good good good good good good good good good good good good good good good good good good good good good good)
    2011-05-22 12:00:13下载
    积分:1
  • zhongzipengzhuang
    老师布置的中子碰撞程序,是用VB编写的,但是必须安装了MatLab软件才可以用!(teachers layout of the neutron collisions process, the preparation of the VB, However, it must be installed MatLab software can use!)
    2006-12-08 16:58:03下载
    积分:1
  • A
    说明:  Execution cmd.rarExecution cmd.rarExecution cmd.rarExecution cmd.rarExecution cmd.rarExecution cmd.rar
    2013-12-12 22:11:11下载
    积分:1
  • tftb2002
    这是matlab中的时频分析工具箱,希望大家用得上。(This is a matlab in time-frequency analysis toolbox, I hope everyone useful.)
    2007-11-08 20:50:46下载
    积分:1
  • golly-2.4-win
    元胞自动机 实现金属氧化过程 很实用的 (The cellular automata metal oxidation)
    2013-05-10 11:52:32下载
    积分:1
  • vcthesis
    该系统实现粗糙集合中的分辨矩阵与分辨函数的约简方法,该方法可以求出信息系统的属性约简(the system to achieve the rough set to distinguish function matrix and tell about Jane, The method can be used to find information system attribute reduction)
    2007-06-16 20:59:02下载
    积分:1
  • att
    奇异吸引子,混沌吸引子,复杂系统理论,画法代码。(Strange attractor, chaotic attractor, complex systems theory, painting code.)
    2013-12-17 13:00:27下载
    积分:1
  • rili
    找到的一个比较实用的日历程序源码,用于开发与日期相关的程序,替代Calendar,实现其无法改变颜色等操作(To find a more practical calendar program source code, for the development of date-related procedures, alternative Calendar, realize that it can not change the color and other operations)
    2013-08-05 17:30:50下载
    积分:1
  • 0000888
    个人觉得很不错,值得一看,大家有兴趣的可以看看(Personally feel very good, worth a visit, we are interested can look at)
    2010-02-23 19:29:01下载
    积分:1
  • 696516资源总数
  • 106454会员总数
  • 1今日下载