冷天不冷

                              冬天若是看不到雪花飘落是否是种遗憾
                              青春若是抓不住年少轻狂是否是种惨白
                              情歌若是唱不出眷恋不舍是否是种悲哀
                              诗词若是挥不了胸中郁闷是否是种无奈
                              你和他之间总是充满着遗憾惨白悲哀无奈
                              生命中布满着缕缕这样的遥遥不可终日的期待
                              为什么不选择双方都会快逸的离开
                              为了绑住一个已不再能够实现的承诺
                              为了留住一颗已不再属于对方的魔幻心灵
                              这一切是否还值得落寞等待
                              相遇在街角是上天的安排
                              两颗心的背叛是缘分的离开
                              梦走了就该醒了
                              你累了就该睡了
                              睡去一身的蹉跎
                              抛开所有的烦恼
                              冷天不冷
                              是该哭泣还该是庆幸
                              不是你的雪花握在手中只会化作一捧春水
                              还是散落其融入大地
                              那才是双方惬意的结局

                              
                              


新人没钱没技术,只能冷天雪地裸体跪求C++超菜鸟问题

10-04

这是我写的一段C++猜数字的程序,老师让我给改写成有CLASS格式的,我英文不好,英文书看不明白,求助rn#include rn#include rn#include rnrnrnint main()rnrn int myMax,secretNumber,i;rn int t=0;rn srand(time(0));rnrn rn cout<<"input the myMax :"; //out a proper prompt messagern cin>>myMax; //and input an integer into myMaxrn rnrn secretNumber=1+rand()%myMax; // prescribe the secretNumber range 1<=r<=myMaxrnrnrnrn cout<<"please guess the number:"; rn cin>>i; rnrn if (i > secretNumber)rn cout << "Wrong! your number is bigger than the number i have.\n";rn else if (i < secretNumber)rn cout << "Wrong! your number is smaller than the number i have.\n"; rnrn while(i != secretNumber ) //the guess series startsrn rn cout << "Please guess again\n";rn cin >> i;rn if (i > secretNumber)rn cout << "Wrong! your number is bigger than the number i have.\n";rn else if (i < secretNumber)rn cout << "Wrong! your number is smaller than the number i have.\n"; rn else cout << "Yes,you are right! You are very bright guy!\n";rn t++;rn if (t>10) //limit the guess timesrn rn cout << "Do you kown the binary search?? you've not taken the course for Introduction to Computer Engineering!\n";rn break; // out the seriesrn rn rnrnreturn 0;rnrnrnrnrn改写成有以下格式的:rnclass MyGamesrnrn public:rn void treasureSearch()rn rnrn rn private:rn int secretNumber;rn;//end of the class MyGamesrnrnint main()rnrnrnrnrn我真的不怎么明白对于才学习C++的我,实在很痛苦,我在韩国但是看不懂书,真郁闷死了

没有更多推荐了,返回首页

私密
私密原因:
请选择设置私密原因
  • 广告
  • 抄袭
  • 版权
  • 政治
  • 色情
  • 无意义
  • 其他
其他原因:
120
出错啦
系统繁忙,请稍后再试