登录
首页 » Visual C++ » EX_8

EX_8

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

  • AlphaBelMMX
    alphablending for mmx
    2010-01-11 11:40:25下载
    积分:1
  • MATLAB-classical-code
    matlab 的经典代码,很实用而且简单,希望能帮助到您(matlab classic code, very practical and simple, hope can help to you)
    2013-01-17 22:23:27下载
    积分:1
  • shudianwangchaoliu
    说明:  输电网潮流计算 牛顿法 matlab程序(power system calculation)
    2010-04-13 15:38:09下载
    积分:1
  • FFTC
    fft的c++语言实现,改自matlab的相关程序(fft c++)
    2009-03-30 11:18:12下载
    积分:1
  • polynomial_lab
    Polynomial code in c++, contain differnet functions
    2013-01-19 20:00:10下载
    积分:1
  • ieee
    IEEE4,5,16,118节点参数数据及数据表明。文档说明了118节点对应个数据的意义和存储格式。 在实际C和MATLAB中可以直接打开文件读入数据。(IEEE 118 node parameter data and data show. The document describes the 118 nodes corresponding to the significance of the data storage format.)
    2013-05-13 17:57:11下载
    积分:1
  • tuxiang
    自己写的一个C++程序,KMEANS的,希望大家看看(To write a C++ program, KMEANS, we hope to see)
    2015-04-15 20:45:32下载
    积分:1
  • A-capon-beamforming
    MIMO 雷达波束设计方面的文献,有需要可以看看(A capon beamforming method for clutter suppression in MIMO radar)
    2014-12-04 21:31:01下载
    积分:1
  • 61180784220051224913292402087
    MATLAB 函数的算法的分形应用以及解析(MATLAB functions of the algorithm and the application of fractal analysis)
    2007-05-09 21:00:26下载
    积分:1
  • chap4
    雷达系统设计MATLAB仿真一书里的第四张所有的程序,对于学习非常有用。(Radar system design MATLAB simulation fourth book program, very useful for learning.)
    2012-09-11 01:04:43下载
    积分:1
  • 696516资源总数
  • 106658会员总数
  • 16今日下载