声明一个基类Shape(点), 在此基础上派生出Rectangle(长方形)和Circle(圆),这三个类都有GetArea()函数计算对象的面积,构造函数,析构函数等有关函数。再使用Rectangle类创建一个派生类Square(正方形)。并设计创建各种类的对象,调用所有函数。设计函数f(Shape &a)能对不同对象的实参调用计算打印出对象的面积。
标签: Rectangle GetArea Circle Shape
上传时间: 2015-07-07
上传用户:netwolf
A program to demonstrate the optimization process of particle swarm optimization. A two-dimensional objective function is visualized by level of grey: the lighter the color, the higher the function value. The particles are shown as red circles, their trajectory as red lines.
标签: optimization two-dimensional demonstrate particle
上传时间: 2013-12-22
上传用户:Andy123456
This mfile illustrates a simple two path Rayleigh multipath fading channel This mfile inputs an unmodulated sinewave through a simple Rayleigh two path fading channel and shows the output with phase, gain, and attenuation characteristics via animation
标签: mfile This illustrates multipath
上传时间: 2014-08-30
上传用户:lindor
reads a set of C-source files and generates a two-column listing of those sources
标签: two-column generates C-source listing
上传时间: 2013-12-19
上传用户:qoovoop
two Matlab functions for initializing and training a recurrent neural network
标签: initializing functions recurrent training
上传时间: 2013-12-17
上传用户:yzy6007
not use Java API to produce two simple java implementation of a dictionary interface, LinkedListDictionary and HashDictionary, that maps a String key to an Object value
标签: implementation LinkedListDict dictionary interface
上传时间: 2015-07-25
上传用户:黄华强
THIS is really two books in one: a tutorial and a reference manual for JDBC, the application programming interface that makes it possible for programmers to access databases from Java. The goal is to be useful to a wide range of readers, from database novices to database experts. Therefore, we have arranged the book so that information needed only by experts is separated out from the basic material. We hope that driver developers as well as application programmers and MIS administrators will find what they need. Because different sections are aimed at different audiences, we expect that few people will read every page. We have sometimes duplicated explanations in an effort to make reading easier for those who do not read all sections. This book will be most helpful to those who have some knowledge of the Java programming language and SQL (Structured Query Language), but one doesn t need to be an expert in either to understand the basic concepts presented here.
标签: application reference tutorial program
上传时间: 2015-08-04
上传用户:zhengzg
This set of simulation files performs a computational complexity performance comparison of the two methods mentioned in the paper. The source is ANSI-C compliant, hence any C-compiler can be used to compile the source code. It has been tested using Visual Studio.net C++ and TI code composer studio C compiler for the TMS320C6701. Note that the performance comparison may be different for different platforms.
标签: computational performance complexity comparison
上传时间: 2014-12-22
上传用户:aig85
Cnnects two computers using the very SIMPLE and SMALL visual basic code.
标签: computers Cnnects SIMPLE visual
上传时间: 2013-12-18
上传用户:jkhjkh1982
This version of malloc for VxWorks contains two different algorithms. One is the BSD based Kingsley "bucket" allocator which has some unique fragmentation behavior. The other is Doug Lea s well tested allocator that tries to minimize fragmentation while keeping the speed/space requirements. 非常实用,可移植用作实现跨平台的嵌入式的内存分配机制.
标签: algorithms different Kingsley contains
上传时间: 2015-08-28
上传用户:hfmm633