-
Virtual-router
C,C++ Questions
1. Base class has some virtual method and derived class has a method with the same name. If we initialize the base class pointer with derived
object,. calling of that virtual method will result in which method being called?
a. Base method
b. Derived method..
Ans. b
2. For the following C program
#define AREA(x)(3.14*x*x)
main()
{float r1=6.25,r2=2.5,a
a=AREA(r1)
printf("
Area of the circle is f", a)
a=AREA(r2)
printf("
Area of the circle is f", a)
}
What is the output?
Ans. Area of the circle is 122.656250
Area of the circle is 19.625000
3. What do the following statements indicate. Explain.
• int(*p)[10]
• int*f()
• int(*pf)()
• int*p[10]
Refer to:
-- Kernighan & Ritchie page no. 122
-- Schaum series page no. 323
- 2011-03-15 14:22:27下载
- 积分:1
-
RLS
RLS算法先验估计误差和后验估计误差,并用来估计功率谱(The RLS algorithm priori estimated error and a posteriori estimation error, and used to estimate the power spectrum)
- 2012-08-31 20:12:54下载
- 积分:1
-
RBF神经网络一步预测
RBF神经网络一步预测。
- 2022-05-25 05:19:47下载
- 积分:1
-
RoboticManipulatorKinematics
针对移动机械臂运动学,根据D-H方法建模思想,matlab建立机械臂运动学仿真软件。(For mobile manipulator kinematics, in accordance with DH modeling methods, matlab establishment of manipulator kinematics simulation software.)
- 2008-03-23 11:59:24下载
- 积分:1
-
pts_ccdf
降低OFDM中PAPR的方法PTS的MATLAB源码
(Reduce the PAPR of OFDM method in the MATLAB source PTS)
- 2020-10-26 10:10:00下载
- 积分:1
-
shizhiweifen
matlab中的数值微分,有用中点公式,自适应法,理查森外推算法等方法求函数的导数,算法的程序实现在文件中都已经给出了。(in the numerical differentiation matlab, useful midpoint formula, adaptive method, Richardson extrapolation methods such as France seek the derivative of the function, the algorithm of the program implementation in the document have been given.)
- 2010-01-04 14:45:50下载
- 积分:1
-
image_to_data
im2dat.m is used to convert images to data which can be plotted using the standard MATLAB functions. This is very handy if you have plots on hardcopy and you want to convert them into data that MATLAB can use. The scanned image can be analysed by this function and the output will allow you to perform any calculation/manipulations that MATLAB can perform, e.g. curve fitting.
- 2008-10-09 23:26:56下载
- 积分:1
-
itoolsgui
Itools GUI 是itools box的GUI界面,由Lars
Nø rgaard 和 Riccardo Leardi提供(Itools GUI is a freeware Gui(Graphical User Interface) for the Itools toolsbox by Lars
Nø rgaard and Riccardo Leardi)
- 2014-02-19 08:40:42下载
- 积分:1
-
粒子群算法求解机器人路径规划
说明: 单机器人路径规划仿真,基于栅格地图模型,采用粒子群算法进行路径规划。(Single robot path planning simulation, based on grid map model, using particle swarm algorithm for path planning)
- 2020-04-25 21:18:21下载
- 积分:1
-
fwddftstego
this source code based on steganography and developed in matlab. in steganography we can hide any data like images in another image.
this method based on discrite fourier transform method.
- 2009-03-23 22:29:22下载
- 积分:1