寒更 发表于 2015-4-27 12:42:43

学习拉!!!!!!

ping192168101 发表于 2015-4-27 12:45:57

公司就是这个品牌,学习了。

ariosox 发表于 2015-4-27 22:55:22

是srx的不学习一下

lbh1988 发表于 2015-4-28 14:54:42

{:6_267:}{:6_267:}{:6_267:}

kimlee5648 发表于 2015-4-28 15:03:44

一定要看看多谢分享

Scum 发表于 2015-4-29 09:38:08

{:1_1:}{:1_1:}

linux小王 发表于 2015-5-4 10:26:14

苛基本要枯枯在苛工

黑色冬雨 发表于 2015-5-4 10:38:50

..........................................

totn 发表于 2015-5-20 15:39:42

:D:P:lol

wll-zy 发表于 2015-5-21 14:35:26

{:6_267:}

zhou_darcy 发表于 2015-5-21 18:27:59

{:6_264:}

myth 发表于 2015-5-24 17:37:25

谢谢分享!!!

h82848 发表于 2015-5-24 22:03:50

{:6_267:}

鬼子来了 发表于 2015-5-26 14:25:08

class Base
{
protected:
float square;
public:
Base(): square(0.0) {}
virtual void calSquare() = 0;
};
class Square: public Base
{
private:
float length;
public:
Square(float len): length(len)
{}
virtual void calSquare()
{
square = length * length;
cout << "正方形面积是 " << square << endl;
}
};
class Triangle: public Base
{
private:
float bottom, height;
public:
Triangle(float bot, float hei): bottom(bot), height(hei)
{}
virtual void calSquare()
{
square = bottom * height / 2;
cout << "三角形面积是 " << square << endl;
}
};
class Circle: public Base
{
private:
float radius;
public:
Circle(float r): radius(r)
{}
virtual void calSquare()
{
square = radius * radius * 3.1415926;
cout << "圆形面积是 " << square << endl;
}
};
void main()
{
Square s(4);
Triangle t(2, 3);
Circle c(2.5);
s.calSquare();
t.calSquare();
c.calSquare();
}

ccssww 发表于 2015-5-27 10:37:49

:lol:lol:lol
页: 48 49 50 51 52 53 54 55 56 57 [58] 59 60 61 62 63 64 65 66 67
查看完整版本: juniper防火墙的基本应用(视频)