登录
首页 » Visual C++ » EX_8

EX_8

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

  • docking
    关于太空docking的一些论文文献,特地拿来共享一下 A number of papers on space docking literature, specially brought about sharing(A number of papers on space docking literature, specially brought about sharing)
    2013-04-06 14:11:58下载
    积分:1
  • ISM
    说明:   ( )
    2010-05-22 22:51:30下载
    积分:1
  • win32windowwrapperclass_src
    非常帅气的window32 窗口类源码,可以此为基础做进一步的开发。(A Simple Win32 Window Wrapper Class。http://www.codeproject.com/win32/win32windowwrapperclass.asp)
    2014-02-04 09:54:40下载
    积分:1
  • CPPapi
    C++标准库,C++ Standard Library,是类库和函数的集合,其使用核心语言写成,由c++标准委员会制定,并不断维护更新。(The C++ standard library, C++ Standard Library, is a set of class libraries and function, the use of the core language, developed by the c++ Standards Committee, and continue to maintain and update.)
    2015-01-17 09:23:49下载
    积分:1
  • pardma
    it has project ijn diary discbrp
    2015-01-22 01:01:04下载
    积分:1
  • 2014
    2014 Continuous Learning of Human Activity Models - imp(2014 Continuous Learning of Human Activity Models- imp)
    2015-03-15 19:10:40下载
    积分:1
  • ARMAPmodel
    用AR模型对脑电信号特性进行提取,用的是matlab进行编程(AR model with the extracted EEG features, with the matlab programming)
    2011-05-10 10:20:01下载
    积分:1
  • GA-MIMO
    基于遗传非常简单实用。算法的多目标优化方案, 用matlab程序编写,(Multi-objective genetic algorithm-based optimization scheme is very simple and practical. Programming with matlab)
    2011-08-18 20:03:23下载
    积分:1
  • TestBroCombo
    Combo history box GUI class
    2014-11-30 22:28:59下载
    积分:1
  • 2220005mcma0
    2005MCMA题程序源码,本程序源码码是自己编的,如有不足请见谅 (2005MCMA title of the program source code, the program' s source code is compiled, if insufficient please forgive me)
    2012-08-16 06:30:23下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载