会员
周边
新闻
博问
闪存
赞助商
YouClaw
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
无敌的宫本
博客园
首页
新随笔
联系
管理
订阅
2018年6月7日
c++实验6
摘要: 1.xinpian.h #include using namespace std; class xinpian{ public: xinpian(float M,float N); void jia(); private: int m,n; }; class xinpianA:public xinpian{ publ...
阅读全文
posted @ 2018-06-07 21:35 无敌的宫本
阅读(273)
评论(0)
推荐(0)
2018年5月23日
c++实验五
摘要: 1.#include #include #include using namespace std; void output1(vector &); void output2(vector &); int main() { vectorlikes, dislikes; paintings,anime,sport,sportsman,etc) likes.push_back...
阅读全文
posted @ 2018-05-23 21:35 无敌的宫本
阅读(205)
评论(0)
推荐(0)
2018年4月23日
c++实验四
摘要: //Complex.h class Complex { public: Complex( double at, double bt) :a(at),b(bt) {} Complex( double at) { a=at; } void add(Complex &num); void show(); ...
阅读全文
posted @ 2018-04-23 22:54 无敌的宫本
阅读(165)
评论(1)
推荐(0)
2018年4月11日
c++实验三
摘要: #include using namespace std; class rect{ public: rect(float L=1.0,float W=1.0){ length=L; wide=W; } area(){ cout>length>>wide; rect x(length,wide...
阅读全文
posted @ 2018-04-11 10:27 无敌的宫本
阅读(137)
评论(3)
推荐(0)
2018年3月24日
c++实验二
摘要: (1) #include using namespace std; int main() { char i; cout>i; if(i=='A') cout using namespace std; int main() { char i; cout>i; switch(i){ case 'A': cout using namespace std; int main() { int i,n; ...
阅读全文
posted @ 2018-03-24 22:48 无敌的宫本
阅读(190)
评论(0)
推荐(0)
2018年3月16日
C语言实验1
摘要: #include using namespace std; int main() { int day; cin>>day; switch(day) { case 1: case 2: case 3: case 4: case 5:cout using namespac...
阅读全文
posted @ 2018-03-16 21:33 无敌的宫本
阅读(97)
评论(0)
推荐(0)
公告