-
conicoidconicoid
说明: 这篇文章是关于标准空间二次曲面拟合的研究,对于齿轮研究者有很好的参考价值,希望大家喜欢(This article is about the standard space quadric fitting studies, researchers for the gear have a good reference value, I hope you like)
- 2008-11-22 17:34:54下载
- 积分:1
-
6_1
1. 定义一个抽象学生类CStudent,它具有公有成员函数Average(),该函数用于计算学生的平均分,函数为虚函数;定义一个文科学生类CStudentLiberalArts,它是类CStudent的派生类,并以公有方式派生,它具有的成员有:
1) 保存英语、政治、数学、地理和历史、美术成绩的整形成员变量;
2) 设置上述变量的公有成员函数;
3) 输出上述变量的公有成员函数;
4) 公有的成员函数Average()用于计算学生的平均分;
定义一个理科学生类CStudentScience,它是类CStudent的派生类,并以公有方式派生,它具有的成员为:
1) 保存英语、物理、数学、化学和计算机、程序设计成绩的整形成员变量;
2) 设置上述变量的公有成员函数;
3) 输出上述变量的公有成员函数;
4) 公有的成员函数Average()用于计算学生的平均分;
编写主函数,并测试以下内容:
1) 定义一个CStudent的指针数组pStu,数组长度为4;
2) 动态创建2个文科学生的对象,地址存于pStu数组的0-1个元素内;
3) 动态创建2个理科学生的对象,地址存于pStu数组的2-3个元素内;
4) 利用while循环调用数组里每个元素的计算平均成绩操作;
释放动态分配的空间,确保必要的析构函数能被调用。
(1 define an abstract class student CStudent, it has a public member function Average (), this function is used to calculate the student s average points function as virtual function definition of a liberal arts student class CStudentLiberalArts, it is the class CStudent derived class, and public be derived, which has members are:
1) Save English, shaping member variables politics, mathematics, geography and history, art achievements
2) Set the above variables public member function
3) public member function of the output of the variable
4) public member function Average () is used to calculate the average student s points
The definition of a science student class CStudentScience, it is the class CStudent derived class, and public manner derived, which has members as follows:
1) Save English, physics, mathematics, chemistry and computer programming achievement shaping member variables
2) Set the above variables public member function
3) public member function of t)
- 2014-10-20 15:29:16下载
- 积分:1
-
stransform
s变换的C程序,简便实用,很容易读懂和理解,对于初学者来说,是掌握S变换的良好实例。(s transformation of C procedures, simple and practical, it is easy to read and understand for beginners, it is to master a good example of S transform.)
- 2009-07-13 21:18:14下载
- 积分:1
-
Memory_2005
介绍了关于memory的相关函数,对于大多数程序员有很大帮助,希望大家多多使用(the information about memory)
- 2013-10-11 11:26:50下载
- 积分:1
-
matlaberrorfunction
Matlab中erf(x)函数的表达式是怎样的,erf(x)与标准正态分布函数之间的关系是怎样的,怎样自己编制一个计算标准正态分布函数数值近似值的函数,如何利用matlab自带的erf(x)函数包近似计算标准正态分布函数的值,数值计算值与用erf(x)转化求得的值之间的相对误差是怎样的。(将中文译成英语
Matlab, erf (x) function expression is what, erf (x) the standard normal distribution function and the relationship between what and how to prepare their own calculation of the standard normal distribution function a value function approximation, how to use matlab comes with erf (x) function package approximate standard normal distribution function values??, numerical values ??and with erf (x) between the values ??obtained into the relative error is like.
)
- 2011-06-25 17:20:11下载
- 积分:1
-
gmodify
matlab 畸变校正。功能:对发生桶形畸变的数字图像进行校正(Function: Digital image of barrel distortion correction occurs)
- 2013-12-30 15:45:32下载
- 积分:1
-
chap6_03_VB_GPC_NoIden
基于VB环境下的递推增广最小二乘法参数估计(VB Environment Based on Recursive Extended Least Squares Parameter Estimation)
- 2009-10-30 14:49:22下载
- 积分:1
-
LL1
能够实现LL(1)预测分析过程的源码,有测试用例(To achieve LL (1) Prediction of the process of source code, there are test cases)
- 2020-06-30 08:40:01下载
- 积分:1
-
texexp
Text Processing example, a program to recognize tokens
- 2014-11-25 00:43:38下载
- 积分:1
-
GM(1_1
GM(1,1)模型的matlab编码,实用型(GM (1,1) model matlab coding, practical)
- 2013-03-31 13:31:39下载
- 积分:1