登录
首页 » Visual C++ » EX_8

EX_8

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

  • 91332001RayTrace1.1
    说明:  蒙特卡罗方法可以有效地解决复杂的工程问题,而MATLAB具有强大的数值计算功能。将二者结合使用,可以得到高效的解决问题的方法。本文阐述了该方法并通过实例验证了该方法的正确性和优越性。 (Monte Carlo method can effectively solve complex engineering problems, and MATLAB has powerful function of numerical calculation. The two in combination, can be cost-effective solution to the problem. This paper describes the methods and examples of the method to verify the correctness and superiority.)
    2008-12-04 20:48:05下载
    积分:1
  • MATLAB7DesktopToolsandDevelopmentEnvironment
    MATLAB2009a的教程。使用方法,技巧,新功能等,应有尽有。(MATLAB2009a of course. The use of methods, techniques, new features are now available.)
    2009-06-09 10:25:30下载
    积分:1
  • Forward-normal-cloud-generator
    正向正态云发生器算法,利用Matlab或VC编程实现正向正态云发生器算法,绘制出云模型。(Forward normal cloud generator)
    2020-11-01 11:19:55下载
    积分:1
  • Philosophers
    这个程序可以演示关于哲学家就餐的问题,对于理解线程的相互等待有很好的作用(This procedure can be demonstrated on the Dining Philosophers problem, each thread to wait for understanding the role of good)
    2010-01-06 20:31:16下载
    积分:1
  • NORMALFUNCTION
    本程序基于visual C++ 实现标准正态分布,正态分布累积函数,正态分布累积函数的逆函数分别输出到不同表,是仿真实验的很好参考!(This procedure based on visual C++ Achieve the standard normal distribution, the cumulative distribution function, the cumulative distribution function of the inverse function of the respective output to a different form, is a good reference simulation!)
    2007-12-14 11:48:49下载
    积分:1
  • xb050229
    希尔伯特变换理论及其在工程领域的应用,介绍了原理及其实现方法(hibert transform)
    2009-05-01 20:27:37下载
    积分:1
  • cumcm2014problems
    大学生数学建模的书籍以及训练习题,和答案,应该对参赛的选手有一定的帮助。(Mathematical modeling of books and training exercises, and answers for participating players should have some help.)
    2015-04-11 21:15:13下载
    积分:1
  • CPP-Primer-Plus
    C++ Primer Plus, 作者 Stephen Prata 版本6ed, AW, 年份 2012 C++初级学者用书(C++ Primer Plus, Stephen Prata, 6ed, AW, 2012 C++ junior scholars books)
    2013-12-13 17:22:18下载
    积分:1
  • Hidden_Markov_model_for_automatic_speech_recogniti
    Hidden_Markov_model_for_automatic_speech_recognition This code implements in C++ a basic left-right hidden Markov model and corresponding Baum-Welch (ML) training algorithm. It is meant as an example of the HMM algorithms described by L.Rabiner (1) and others. Serious students are directed to the sources listed below for a theoretical description of the algorithm. KF Lee (2) offers an especially good tutorial of how to build a speech recognition system using hidden Markov models.
    2007-10-26 19:01:21下载
    积分:1
  • OFDM-QPSK-Modulation
    对于OFDM初学者很有帮助,是很好的学习程序哦,可以学会用matlab仿真(the study of )
    2011-05-05 20:46:02下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载