登录
首页 » Visual C++ » EX_8

EX_8

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

  • MatlabandVC
    该代码提供了MATLAB与VISUAL C++的接口编程,为MATLAB可视化编程提供了方便(The code provides a MATLAB with VISUAL C++ Interface programming, visual programming for MATLAB provides a convenient)
    2007-08-13 11:12:07下载
    积分:1
  • Mixture_of_VC_and_Matlab_programming
    VC与Matlab的混合编程方法及其应用 详细介绍了VC与Matlab混合编程的方法和实例,适合初步接触混合编程的人使用。(Mixture of VC and Matlab programming and application details of the VC and Matlab programming methods, and case mix for the initial contact with mixed programming to use.)
    2010-06-12 16:15:04下载
    积分:1
  • clusteringtt
    说明:  matlab聚类分析代码聚类分析代码聚类分析代码聚类分析代码(cluster analysis cluster analysis matlab code code code cluster analysis cluster analysis code)
    2011-03-17 22:01:43下载
    积分:1
  • MatrixManip
    this code is a matrix with 4 operation
    2011-06-23 17:56:38下载
    积分:1
  • 109201293CSharp_MATLAB
    interop between C# and matlab
    2009-05-17 13:21:18下载
    积分:1
  • tsp-mpi
    关于tsp问题的基于windows环境下的mpi实现源代码。(tsp of the windows environment based on the realization of the source code mpi.)
    2007-01-01 21:06:52下载
    积分:1
  • oven_VCPP
    焦炉加热燃烧过程即时模型设计,把焦炉温度的实时数据生成温度曲线,实现了VC++与matlab的混合编程(Instant combustion process of coke oven model design)
    2013-09-04 15:03:25下载
    积分:1
  • 456699
    VC调用MATLAB的方法,希望对您有帮助(VC call MATLAB way, I hope for your help)
    2008-06-28 00:35:10下载
    积分:1
  • boxcounting
    使用MATLAB编的一段程序。用于计算时间序列的盒维数。(make it in matlab and be used to analys fractal demination)
    2009-04-25 10:56:40下载
    积分:1
  • ybusflow
    导纳矩阵的形成方法,用于电力系统潮流计算分析相当有用.(admittance matrix formation method for power flow analysis has been useful.)
    2006-09-19 21:02:51下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载