自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(0)
  • 资源 (6)
  • 收藏
  • 关注

空空如也

操作系统 第四版 课后答案

为了同学更好的学习操作系统,操作系统 第四版 课后答案 操作系统 第四版 课后答案

2014-05-06

C++程序调试

#include <iostream> using namespace std; class Tree { public: Tree( int age ) ; void Grow( int years ) ; int Age() const { cout<<ages; return ages;} private: int ages; }; Tree::Tree( int age ) { ages=age; } Tree::Grow( int years ) { ages+=years; } int main() { Tree t(15); t.Grow(10); t.Age(); return 0; }

2011-10-24

C++调试程序

#include"iostream" using namespace std; class Dog { public: Dog(int Age=0,int Weight=0); int GetAge() { return age; } int GetWeight() { return weight; } private: int age,weight; }; Dog::Dog(int Age,int Weight) { age=Age; weight=Weight; } int main() { Dog r(2,3); cout<<r.GetAge()<<","<<r.GetWeight()<<endl; return 0; }

2011-10-24

C++程序调试

C++程序调试的电子文档 using namespace std; class Rectangle #include"iostream" { public: Rectangle(int xx1=0,int yy1=0,int xx2=0,int yy2=0); int GetX1() { return x1;} int GetY1() { return y1;} int GetX2() { return x2;} int GetY2() { return y2;} int area(); private: int x1,y1,x2,y2; }; Rectangle::Rectangle(int xx1,int yy1,int xx2,int yy2) { x1=xx1; y1=yy1; x2=xx2; y2=yy2; } Rectangle::area() { return (x2-x1)*(y2-y1); } int main() { int x1,x2,y1,y2; cout<<"请输入左下角的两个坐标和右上角的两个坐标:"<<endl; cin>>x1>>y1>>x2>>y2; Rectangle r(x1,y1,x2,y2); cout<<"左下角的两个坐标和右上角的两个坐标是:"<<r.GetX1()<<","<<r.GetY1()<<","<<r.GetX2()<<","<<r.GetY2()<<endl; cout<<"该矩形的面积是:"<<r.area()<<endl; return 0; }

2011-10-24

计算机仿真和可视化设计

计算机仿真和可视化设计让你学习更好、更好的掌握

2011-09-29

计算机仿真和可视化设计

计算机仿真和可视化设计让你在学习中更能掌握

2011-09-29

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除