- 博客(4)
- 收藏
- 关注
原创 Javascript中this的用法
#include #include using namespace std;int main( ){ double salarys[500];//新建工资数组 int n=0; freopen("a.txt","r",stdin); freopen("ordered_salary.txt","w",stdout); while(cin>>salary
2014-06-08 23:18:42 682
原创 关于Javascript中的数组
#include using namespace std;int main( ){ double salarys[500];//新建工资数组 int n=0; while(cin>>salarys[n]) { n++; //从cin流读取数据 } //将n名职工的工资排序后输出 int i,j; double
2014-06-08 23:16:50 982
原创 OJ平台
#include #include using namespace std;#define Pi 3.1415926class Shape{ public: virtual float area()const{return 0;}};class Circle:public Shape{ public: Circle(float r); vir
2014-06-08 23:13:17 1226
原创 形状类族中的纯虚函数
#include using namespace std;class Shape{ public: virtual float area()const=0;};class Circle:public Shape{ public: Circle(float r=0); virtual float area()const; protected
2014-06-08 23:03:37 649
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人