cin.getline(line,sizeof(line),’x’)表示的意思是读取90个字符存放到line如果遇到_____则结束输入。
查看答案
Americans usually eat three meals a day. Breakfast usually comes before eight o’clock in the morning. They usually have eggs, some meat, bread, fruit juice and coffee. Lunch, is between twelve and one o’clock. It is a light meal and working people most take lunch with them or get it near their workplace. Children in school take sandwiches, fruit, and cookies with them or eat in school. Supper, the main meal, is between six and eight in the evening. People cook it carefully. They may have meat or chicken, turkey or duck. They may all have potatoes or rice, vegetables or salad. The drink is coffee, tea or milk. Then comes the dessert. Americans usually have breakfast and supper at ______.
A. home
B. office
C. inn
Mark Twain was an American writer. One day he went to a city by train. He wanted to see one of his friends them. He was a very busy man. He usually forgot something. When he was in the train, the conductor asked him for his ticket. Mark Twain looked for his ticket here and there, but he couldn’t find it. The conductor knew Mark Twain. She said, "Show me your ticket on your way back. And if you can’t find it, it doesn’t matter." "Oh, but it does," said Mark Twain. "I must find the ticket. If I can’t find it, how can I know where I am going\ Mark Twain is ______.
A. a Frenchman
B. an English
C. an American
请按下面注释的提示,将类B的构造函数定义补充完整。class A int a;public: A(int aa=0) (a=aa; ];class B: public A int b; Ac;public: //用aa 初始化基类A,用aa+1初始化类对象成员c B(int aa): 【9】 b=aa+2;