聲明一個基類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