网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
The text is most likely to be found in a book about
A. popular scienceB. historical events
C. successful peopleD. political systems
参考答案
更多 “ The text is most likely to be found in a book aboutA. popular scienceB. historical eventsC. successful peopleD. political systems ” 相关考题
考题
The more seriously this is sought,______(likely)positive attitudes towards leisure as well as academic work will be encouraged.
考题
Anyone who has spent time with children is aware of the difference in the way boys and girls respond to ____ situation.
A.similarB.alikeC.sameD.likely
考题
请使用VC6或使用【答题】菜单打开考生文件夹projl下的工程projl,此工程中包含一个源程序文件main.cpp,其中有类Book(“书”)和主函数main的定义。程序中位于每个“//ERROR****found****”下的语句行有错误,请加以改正。改正后程序的输出结果应该是: 书名:C++语句程序设计总页数:299 已把“c++语言程序设计”翻到第50页 已把“c++语言程序设计”翻到第51页 已把“c++语言程序设计”翻到第52页 已把“c++语言程序设计”翻到第51页 已把书合上。 当前页:0 注意:只修改每个“//ERROR ***found***”下的那一行,不要改动程序中的其他内容。 includeiostream using namespace std; class Book{ char*title; int num—pages;//页数 int cur_page;//当前打开页面的页码,0表示书未打开 public: //ERROR***********found*********** Book(const char*theTitle,int pages)num_pages(pages) { title=new char[strlen(theTitle)+1]; strepy(title,theTitle); coutendl”书名:”title ”总页数:”num_pages; } ~Book{delete[]title;} bool isClosedconst{return cur_page==0;} //书合上时返回true,否则返回false bool isOpenconst{return!isClosed;}//书打开时返回true,否则返回false int numOfPagesconst{return num_pages;}//返回书的页数 int currentPageconst{return cur_page;}//返回打开页面的页码 //ERROR***********found*********** void openAtPage(int page_no)const{ //把书翻到指定页 coutendl: i“page_nol Jj page_nohum_pages){ tOUt”无法翻到第”cur page”页。”; ClOSe; } else{ cur_page=page_n0; tout”已把“"tide"”翻到第"cur page“页”; } } void openAtPrevPage{openAtPage(cur page—1);{//把书翻到上一页 void openAtNextPage{openAtPage(cur_page+1);}//把书翻到下一页 void close{//把书合上 toutendl: if(isClosed) tout"书是合上的。"; else{ //ERROR**********found********** num_pages=0; cout”已把书合上。”; } cOutendl: } }; int main{ Book book(”C++语言程序设计”,299); book.openAtPage(50); book.openAtNextPage; book.openAtNextPage; book.openA.tPrevPage; book.close; tout”当前页:”book.currentPageendl; return 0: }
考题
假定有“structBOOK{chartitle[40]floatprice}book”,则正确的语句为( )。
A.BOOK&x=&bookB.BOOK&x=bookC.BOOK&x=newBOOKD.BOOK&x=BOOK
考题
It is out of the question that the inspector will come tomorrow.A:impossible
B:possible
C:probable
D:likely
考题
He was a great supporter of socialized medicine,and was very liberal in his other views.A:favoring
B:advanced
C:opposite
D:popular
考题
Some states have an income tax ______ tothat of the federal government.A.same
B.similar
C.alike
D.likely
热门标签
最新试卷