摘要: #include using namespace std;const int strsize=30;const int BOPSIZE=5;void showmenu(){ cout>ch && ch!='q') { switch(ch) { case 'a': for(i=0;i<BOPSIZE;i++) cout<<newbop[i].fullname<<endl; break; case 'b': for(i=0;i<BOPSIZE;i++) cout<<newbop[i 阅读全文
posted @ 2013-12-01 23:43 编程的爬行者 阅读(134) 评论(0) 推荐(0) 编辑
摘要: #include using namespace std;void showmenu(void){ cout>input; while(input) { switch(input) { case 'c':cout>input; } system("pause"); return 0;} 阅读全文
posted @ 2013-12-01 02:08 编程的爬行者 阅读(149) 评论(0) 推荐(0) 编辑
摘要: #include #include using namespace std;const int MAXSIZE=10;int main(){ double dd[MAXSIZE]; double donation; double aver=0; int num=0; int i=0; while(i>donation && !isdigit(donation)) { dd[i]=donation; aver+=dd[i]; i++; //(cin>>donation).get(); } if(i) aver=aver/i; else aver=0; fo... 阅读全文
posted @ 2013-12-01 01:34 编程的爬行者 阅读(164) 评论(0) 推荐(0) 编辑