登录
首页 » C++ » 多态与虚函数实验代码

多态与虚函数实验代码

于 2022-04-16 发布 文件大小:1.58 MB
0 80
下载积分: 2 下载次数: 1

代码说明:

C++实验关于多态与虚函数实验代码~ 题目2  小型公司人员管理 某小型公司有两类人员:技术人员和推销员。设计一个基类employee,派生出technician(技术人员)和saleman(推销员)。 1、类定义 1)employee类: 基本信息:编号、姓名、职位、薪水等;编号自动增加 多个构造函数:缺省构造函数、带参数的构造函数等; 其中:基本信息为private属性,成员函数为public属性;   2)派生类technician

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • shiweidele
    施威德勒球壳在ansys中的建模分析,APDL语言(Of Schwedler shell modeling in ansys, APDL language)
    2012-10-22 14:32:47下载
    积分:1
  • CPPjiexixm
    由于在javascript中不存在指针概念,故在xml页面调用OCX控件时,以前控件中的输出参数通过指针返回在这样的情况下行不通了,但本来就有返回参数,以及在同时有多个输出参数的情况下,依然想通过返回值返回,那就需要进行处理,然而怎么去处理呢?通过研究发现通过xml形式的字符串返回是一种解决方案,在解决这样的返回值的同时突然发现其实如果输入参数是结构体的话,也可以通过xml字符串的形式传入。然而怎么去解析它呢,而又怎么去做一个xml字符串呢,通过研究学习,以下是当然已有的解决方案。 开发环境:VS2010 (Since there is no pointer in javascript concept, so the xml page called OCX controls, the previous control output parameters returned through a pointer does not work in this case, but do have a return parameters, and there are multiple output parameters circumstances, still want to return value to return, it would need to be processed, but how to go about it? Through the study found through xml string of the form returned is a solution, the return value in addressing this while suddenly discovered that in fact if the input parameter is a structure, it can also be passed in the form of xml string. However, how to resolve it then, but how to do an xml string it through the research study, the following is of course the existing solutions. Development Environment: VS2010)
    2013-11-03 13:40:30下载
    积分:1
  • DebugScissor
    我想很多程序员都遇到这种情况:新建了很多工程,编译后生成了很多的Debug、Release,想删除的时候一个个文件夹打开,删除,太累啦~~~!!不删又占空间!!我也“深受其害”,今天实在无法忍受了,写个程序,自动删,呵呵。 使用时把它放在你想清理的文件夹里面,运行后它会自动搜索子文件夹,直到完成,使用时请小心,它看见Debug、release就删,呵呵,所以如果不想删除,就不要用这个名字啊!! 主要用了一些文件操作和文件夹操作(I think many programmers have experienced this situation: a lot of new projects has become a much later compiler Debug, Release, would like to delete a folder when opened, deleted, tired啦~ ~ ~! ! Do not cut and space! ! I also " suffer" , this really could not bear, and write a program to automatically delete, huh, huh. Put it in when you want to clean up inside the folder, it will automatically run the search sub-folders until completed, when used with care, it is to see Debug, release on the cut, huh, huh, so if you do not want to delete, do not use name ah! !)
    2009-05-08 20:40:06下载
    积分:1
  • user
    格式化硬盘病毒的的源代码,是用delphi语言写的。大家可以借鉴一下(formatted drives virus source code, is to use Delphi language written. We can learn some lessons from)
    2013-09-25 08:44:27下载
    积分:1
  • Progress
    基于MFC做的进度条小程序,VC6.0编译通过(MFC-based progress bar to do a small program, VC6.0 compiled by)
    2013-09-16 15:17:37下载
    积分:1
  • mfcuk
    说明:  Crack CRYPTO1 CRYPTO2 mifare classic 1K
    2020-01-28 00:29:31下载
    积分:1
  • car4Ssale
    用c++做的汽车4s店销售系统(mfc) 录入查询库存预定等功能模块 头文件中定义 class CAutomobile4SshopDlg : public CDialog 头文件中定义class sale : public CDialog class service : public CDialog class storage : public CDialog class guanli : public CDialog 分别作销售,服务,库存,管理功能模块函数体调用 #define IDM_ABOUTBOX 0x0010 #define IDD_ABOUTBOX 100 #define IDS_ABOUTBOX 101 #define IDD_AUTOMOBILE4SSHOP_DIALOG 102 .....宏定义为函数体调用(Using c++ to do car 4s shop sales system (mfc) Input query inventory reserve and other functional modules Header file defines class CAutomobile4SshopDlg: public CDialog Header file defines class sale: public CDialog class service: public CDialog class storage: public CDialog class guanli: public CDialog Respectively, for sales, service, inventory management function module calls the function body # define IDM_ABOUTBOX 0x0010 # define IDD_ABOUTBOX 100 # define IDS_ABOUTBOX 101 # define IDD_AUTOMOBILE4SSHOP_DIALOG 102 Defined as a function of the body ..... macro call)
    2013-10-24 17:52:29下载
    积分:1
  • trey__punction
    说明:  C ++ implements cache function, tree structure(C implements cache function, tree structure)
    2019-04-17 00:51:47下载
    积分:1
  • -个完整的ftp程序源代码
    关于FTP的代码,支持网络间的文件传输,用户权限的设定.(on FTP code, the support network file transfer, set user privileges.)
    2005-05-17 21:15:40下载
    积分:1
  • worm_research_and_design_on_worm_early_warning_bas
    说明:  论文,网络蠕虫研究与本地化网络蠕虫预警研究及原型系统设计(Thesis research and localization of network worms network worms early warning system design studies and prototype)
    2008-10-16 21:53:19下载
    积分:1
  • 696518资源总数
  • 105895会员总数
  • 18今日下载