登录
首页 » Visual C++ » EX_8

EX_8

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

  • annealing
    模拟退化算法在C环境下的实现,以及在Matlab中对其进行调用。(Simulation of the degradation of algorithm in C environment to achieve, as well as in Matlab in their call.)
    2008-03-27 16:04:01下载
    积分:1
  • flocking--MALTLAB
    多智能体蜂拥控制MATLAB基本仿真程序,帮助新手学习交流(multi-agent system of flocking matlab simulation programa )
    2021-04-19 14:38:51下载
    积分:1
  • Doppler-radar-driver
    多普勒雷达驱动程序,应用于室内导航与定位(Doppler radar driver)
    2015-04-02 11:56:05下载
    积分:1
  • llpcp
    lpc线性预测编码,合成与分析析,在matlab中实现-lpc (lpc linear predictive coding, synthesis and analysis of the analysis, in-lpc in Matlab)
    2012-07-30 00:55:13下载
    积分:1
  • Cpp1
    双音多频,由高频群和低频群组成,高低频群各包含4个频率。一个高频信号和一个低频信号叠加组成一个组合信号,代表一个数字。DTMF信号有16个编码。利用DTMF信令可选择呼叫相应的对讲机。(Dual tone multi-frequency, high-frequency and low-frequency group composed of groups, high-frequency group contains four frequencies each. A high-frequency signal and a low frequency signal is superimposed to form a combined signal representative of a number. DTMF signal has a 16 code. DTMF signaling to the appropriate use of the intercom call.)
    2014-10-30 17:22:37下载
    积分:1
  • R--KT.m
    库恩塔克算法matlab程序(Kuhn Tucker algorithm matlab program,Kuhn Tucker algorithm matlab program,Kuhn Tucker algorithm matlab program,Kuhn Tucker algorithm matlab program)
    2016-07-04 23:44:08下载
    积分:1
  • hfm
    哈夫曼树:利用哈夫曼编码进行通信可以大大提高信道利用率,缩短信息传输时间,降低传输成本(Huffman tree)
    2011-05-14 14:55:51下载
    积分:1
  • emuWind
    The EnumWindows function enumerates all top-level windows on the screen by passing the handle to each window, in turn, to an application-defined callback function. EnumWindows continues until the last top-level window is enumerated or the callback function returns FALSE.
    2014-10-25 07:01:03下载
    积分:1
  • BP
    说明:  这是一种BP神经网络的的MATLAB的代码有用请下载(if it help,please go ahead)
    2014-09-14 18:28:58下载
    积分:1
  • icpdaima-matlab
    很好的代码,很好很强大,大家用来,试试看,谢谢(a good program)
    2013-05-24 10:52:15下载
    积分:1
  • 696518资源总数
  • 106259会员总数
  • 28今日下载