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

多态与虚函数实验代码

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

代码说明:

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

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

发表评论

0 个回复

  • matlab12
    由于libsvm的matlab版本的工具箱libsvm-mat并没有给出寻参的函数模块,而无论利用libsvm工具箱进行分类还是回归,参数的选取是十分重要的,鉴于此libsvm-mat-2.89-3[FarutoUltimate3.0]在 libsvm-mat-2.89-3的基础上给出相应的辅助函数插件,方便用户来选取最佳的参数,现对该工具箱里主要的辅助函数插件的接口进行介绍。(As the matlab version of the toolbox libsvm libsvm-mat and did not give to find a function module parameters, regardless of classification using libsvm toolbox or regression, parameter selection is very important, in view of the libsvm-mat-2.89-3 [ FarutoUltimate3.0] in libsvm-mat-2.89-3 is given on the basis of the corresponding auxiliary function plugin user to select the best parameters, the toolbox is the main interface to plug the auxiliary functions are introduced.)
    2011-05-23 16:28:40下载
    积分:1
  • C#在图片格式转换时设置JPEG压缩级别的实现源码
    C#在转换图像格式时设置JPEG压缩级别,运行程序在窗口上单击按钮后,会生成多个版本不同压缩级别的图片,图片大小字节都不一样,如下代码是实现本功能的核心代码:   Bitmap MyBitmap = new Bitmap(@"J001.jpg");   ImageCodecInfo MyDecoder = null;   ImageCodecInfo[] MyDecoders = ImageCodecInfo.GetImageDecoders();   foreach (ImageCodecInfo MyFormat in MyDecoders)   {    if (MyFormat.FormatID == ImageFormat.Jpeg.Guid)    {    MyDecoder = MyFormat;    }   }   System.Drawing.Imaging.Encoder MyEncoder =    System.Drawing.Imaging.Encoder.Quality;   EncoderParameters MyEncoderParameters = new EncoderParameters(1);   //以50中级压缩图像   EncoderParameter MyEncoderParameter = new EncoderParameter(MyEncoder, 50L);   MyEncoderParameters.Param[0] = MyEncoderParameter;   MyBitmap.Save("J50L.jpg", MyDecoder, MyEncoderParameters);   //以100高级压缩图像   MyEncoderParameter = new EncoderParameter(MyEncoder, 100L);   MyEncoderParameters.Param[0] = MyEncoderParameter;   MyBitmap.Save("J99L.jpg", MyDecoder, MyEncoderParameters);   //以0低级压缩图像   MyEncoderParameter = new Enc
    2022-05-18 00:19:47下载
    积分:1
  • C #汽车
    C#自动关机,锁屏等操作功能,非常强大,有利于学习与研究-C# auto-shutdown, lock screen and other operations functions, very powerful, there is conducive to learning and research
    2022-12-27 12:05:04下载
    积分:1
  • uhort
    一个可以切分bin格式的图形文件的程序,推荐()
    2017-10-27 11:11:12下载
    积分:1
  • BMP180 +msp430
    本代码主要是使用MSP430F149系列单片机实现BMP180的数据采集
    2022-02-25 19:55:00下载
    积分:1
  • vxWorks实例开发:飞控代码源码
    本程序为vxWorks飞控代码源码
    2020-04-02下载
    积分:1
  • FM1702
    基于51单片机的FM1702的一段程序(部分测试通过)(A program based on 51 microcontroller FM1702 (test))
    2012-09-05 09:33:21下载
    积分:1
  • 数据 STM32 的 USB Mp3 播放器使用 TFT 显示 CORTEC M7 音频
    音频播放器使用 STM32F7-可以玩几个编解码器 (Mp3/WAV/WMA) 从 USB 盘,读取 Mp3 标签,在混频器生成。 触摸的显示器驱动程序包含 从 FAT16 USB 盘中读取数据。显示分辨率为 800 x 600 像素。 你可以使用 STM32F7 发现板。 使用 openstm32 编译此软件。
    2022-04-16 08:25:29下载
    积分:1
  • openmp
    并行计算实验,用于求历史最高气温的算法,包含openmp,pthread,mpi,mapreduce等并行计算算法(algorithm includes openmp,pthread,mpi,mapreduce and so on )
    2012-02-11 11:41:21下载
    积分:1
  • SFP
    新唐单片机Mini51系列在SFP光模块应用上的源代码(Nutiny-Mini51 sourcecode for SFP optical Module)
    2018-08-02 11:42:46下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载