登录
首页 » Visual C++ » EX_8

EX_8

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

  • GA
    说明:  这是一个c++实现的基本遗传算法 很好用的,只要按照提示输入数值区间就行了或者自己把那个函数改一下就可以做了。(c++ to achieve a good basic genetic algorithm used)
    2010-01-07 20:04:45下载
    积分:1
  • GPU_FDTDfdtd
    一个GPU的FDTD程序,可以参考一下。(A GPU FDTD procedures, you can refer to.)
    2014-01-09 17:11:48下载
    积分:1
  • sysidjob5
    此程序把M序列作为输入,使用最小二乘法对系统进行辨识,实现最小二乘的基本功能(M sequences in this program as input, using the least squares method to identify the basic functions of the least squares)
    2012-06-09 17:14:47下载
    积分:1
  • lu
    说明:  在用混沌理论和神经网络进行短期负荷预测时,神经网络的输入的选择至关重要,该程序用matlabl实现了基于混沌时间序列的嵌入维数的选择(In chaos theory and neural networks with short-term load forecasting, neural network is essential to choose the input, the program implemented with matlabl chaotic time series based on the number of choices of embedding dimension)
    2010-05-26 19:48:46下载
    积分:1
  • RadarDataDisp
    雷达数据显示与分析,包括雷达P显和E显两种方式,同时还可设置雷达量程、指定目标航迹数据显示等,该代码实用,值得参考。(Radar data and analysis, including radar and E P were significantly in two ways, but can also set the radar range, specify the target track data display, the code useful as reference.)
    2020-11-17 15:29:39下载
    积分:1
  • DYK-IP3Rmodel
    介绍的是对于钙信号传导的某种简化模型的模拟(Described the simulation of a simplified model for calcium signaling)
    2012-07-16 16:38:24下载
    积分:1
  • QuadTRee
    使用C++和matlab混合编程实现四叉树分解及合并区域的代码(C++ and matlab mixed programming quadtree decomposition and Mergers area code)
    2013-04-23 20:11:39下载
    积分:1
  • openGL
    分别用普通构建方式和显示列表对物体进行绘制,实现各种复杂的交互控制(Were built with ordinary ways and display a list of objects to draw, to achieve a variety of complex interactive control)
    2014-02-17 20:00:17下载
    积分:1
  • authenticationtoken-96133
    Aunthetication token.
    2014-11-07 16:34:13下载
    积分:1
  • sort
    Shell sort is a very interesting modification of the sorting algorithm simple inserts.
    2013-10-06 04:38:26下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载