首页
普通专升本
成人高考
学位英语
在线刷题
最近学习
最近学习课程
最强大脑 · 3天挑战极限记...
副标题副标题副标题副
最强大脑 · 3天挑战极限记...
副标题副标题副标题副
您现在位置:
模拟考场
>
湖北自学考试
>
专业课
>
C++程序设计
>
浏览试题
[主观题]
分析如下主程序中的错误。
收藏
查看答案
参考答案
试题答案:
变量num没有声明。
答案解释:
相关题目
静态成员函数不能说明为()
已知类A是类B的友元,类B是类C的友元,则()
#include < iostream, h > class testl { private : int x; public: testl ( ) { x = 2 ; } void set(int a){x =a;} void get( ) { cout << x << endl; } };class test2{ private: int x; public : test2 ( ) { x = 3 ; } void set( int a) { x = a; } void get( ) { cout << x << endl; } }; class test: public testl, public test2 { private : int x; public:void set( int a) { x=a; } void gettest( ) {cout << x << endl; } }; void main( ) { test a; _________; } };
C++对C语言做了很多改进,即从面向过程变成为面向对象的主要原因是()
定义队列类模板queue(先进先出),队列的大小由使用者确定。要求该类模板对外提供如下二种基本操作:(1)insert(入队列)(2)front(出队列),用数组来实现
类的析构函数是对一个对象进行以下哪种操作时自动调用的是()
C++源程序文件扩展名为( )
下面有关构造函数和new运算符关系的正确说法是
设存在整型变量int x,则下列句与其它三项含义不同的是( )
下列程序的输出结果是()
热门试题
1.
22.Another thing an astronaut has to learn about is eatingin space.Food is weightless, just as men are. Food for space has to be packed in special ways.Some of it goes into tubes that a man can squeeze into his mouth.Bite-sized cookies are packed in plastic. There is a good reason for covering each bite, The plastic keeps pieces of food from traveling in the spaceship.On the earth very small pieces of food would simply fall to the floor. But gravity doesn't pull them to the floor when they are out of the plastic in a spaceship.They move here and there and can get into a man's eyes or into the spaceship's instruments.If any of the instruments is blocked, the astronauts may have trouble getting safely home. As astronauts travel on longer space trips, he must take time to sleep.An astronaut can fit himself to his seat with a kind of seat belt.Or, if he wants to, he can sleep in a sleeping bag which is fixed in place under his seat.But be careful he must put his hands under the belt when he goes to sleep.This is because he is really afraid that he might touch one of controls that isn't supposed to be touched until later.22.1 Why would astronauts cover each bite of food in space?A.Because small pieces of food would fall down to the floorB.Because weightless pieces of food might make trouble when they travel aroundC.Because they haven't enough food for longer tripsD.Because astronauts don't want to waste food
2.
Paragraph②______ 查看材料
3.
第三部分:概括段落大意和补全句子(第16~25题,每题l分,共10分) 阅读下面短文,请完成短文后的2项测试任务:(1)从第l6~20题后所给的6个选项中为第1~5段每段选择1个正确的小标题;(2)从第21~25题后所给的6个选项中选择5个正确选项,分别完成每个句子。请将正确选项的字母写在答题卡上。
4.
12.指出以下不属于新闻摄影报道失实的原因
5.
25.中国建筑在布局上的显著特点是
热门试卷
成人高考专升本《政治》模拟试卷
去做题
已有3418做题
2020年湖北成人高考专升本政治模拟试题三
去做题
已有2214做题
成人高考专升本政治考试模拟试题及答案(1)
去做题
已有1901做题
湖北成考专升本政治真题(2021年)
去做题
已有1363做题
湖北成考高起点语文真题(2021年)
去做题
已有1221做题