登录
首页 » Visual C++ » EX_8

EX_8

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

  • Untitled
    这个代码是用Matlab写的心形代码,是通过点的形式编写的,看起来很有意思。(This code is written using Matlab heart-shaped code, through the form of written, looks very interesting.)
    2013-08-29 09:21:33下载
    积分:1
  • ch05
    matlab学习资料 matlab自学资料 matlab
    2010-05-14 20:42:30下载
    积分:1
  • Pprtools317a
    模式识别 MATLAB 的工具箱,比较实用,包括SVM,IICA,PCA,NN等等模式识别算法.,已通过测试。 (MATLAB toolbox of pattern recognition, more practical, including SVM, IICA, PCA, NN pattern recognition algorithms. Has been tested.)
    2012-10-07 00:26:45下载
    积分:1
  • EITHT
    mATLAB教程第六章案例,时间变动序列(mATLAB Tutorial Chapter VI case, the time sequence changes)
    2013-07-20 10:01:58下载
    积分:1
  • eslabprgms
    visual c++ FOR EMBEDDED SYSTEMS AND FOR REAL TIME APPLICATIONS
    2013-08-26 22:03:52下载
    积分:1
  • zhy20070413125502276
    the project is used for the customers to learn something(important)
    2010-01-20 19:06:29下载
    积分:1
  • chengxu
    实现电力系统的潮流计算,采用的事PQ方法来编程(Achieve power flow calculation method used to program the things PQ)
    2011-05-31 09:32:33下载
    积分:1
  • binary_code_new
    信号分选,雷达信号分选,雷达对抗信息处理(Signal sorting Radar signal sorting, radar information processing)
    2012-09-13 13:17:16下载
    积分:1
  • ANSYS-earthquake-wave-input-node-
    利用文中命令码,可以在ANSYS中实现如何输入地震波,这对结构动力分析非常重要!(Using text command code, can be implemented in ANSYS how to input seismic wave, which is very important for structural dynamic analysis!)
    2014-09-20 10:00:56下载
    积分:1
  • MATLAB7_0-teach
    MATLAB (matrix laboratory) is a numerical computing environment and fourth-generation programming language. Developed by MathWorks, MATLAB allows matrix manipulations, plotting of functions and data, implementation of algorithms, creation of user interfaces, and interfacing with programs written in other languages, including C, C++, Java, and Fortran.(MATLAB是MATrix LABoratory的缩写,是一款由美国MathWorks公司出品的商业数学软件。MATLAB是一种用于算法开发、数据可视化、数据分析以及数值计算的高级技术计算语言和交互式环境。除了矩阵运算、绘制函数/数据图像等常用功能外,MATLAB还可以用来创建用户界面及与调用其它语言(包括C,C++和FORTRAN)编写的程序。)
    2011-04-26 12:41:40下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载