皮皮学,免费搜题
登录
搜题
【简答题】
下面程序是一个堆栈的类模板,在横线处填上适当语句,完成类模板的定义。 define MAXSIZE 100 template <class T> class Stack { T s[MAXSIZE]; int top; public: stack() { top=1; } void push(T newValue) { if(top<MAXSIZE) { top=top+1; s[top]=newValue; } else cout<<'堆栈满,无法进栈'<<end1; } void pop(); }; 【 】 { if(top>1) { cout<<s[top]<<end1; top=top-1; } else cout<<'堆栈空! '<<end1; }
拍照语音搜题,微信中搜索"皮皮学"使用
参考答案:
参考解析:
知识点:
.
..
皮皮学刷刷变学霸
举一反三
【单选题】It is _____ to catch the 10: 00 ship. [     ]
A.
enough early
B.
too early
C.
much early
D.
early enough
【单选题】Early to bed and early to rise makes a man healthy, happy, and wise.
A.
Early to bed / and early to rise / makes a man / healthy,/happy/, and wise.
B.
Early to bed and /early to rise / makes a man / healthy, happy, and wise.
C.
Early to bed / and early to rise / makes /a man / healthy, happy, and wise.
D.
Early to bed  and early to rise makes /a man / healthy, /happy, /and wise.
【单选题】被王夫人斥责为“病西施”的女子是( )
A.
芳官
B.
黛玉
C.
五儿
D.
晴雯
【简答题】Is there any penalty if he makes early repayment, and how early?
【单选题】查询中的计算公式和条件应写在设计视图中()行。
A.
总计
B.
字段
C.
条件
D.
显示
【简答题】They all came early, but she came (early) ______of all.
【单选题】windows7中,被放入回收站的文件仍然占用()。
A.
硬盘空间
B.
内存空间
C.
软件空间
D.
光盘空间
【判断题】玻璃作为包装材料能够释放出碱性物质和某些不溶性碎片
A.
正确
B.
错误
【单选题】被王夫人斥责为“病西施”的女子是( )
A.
黛玉
B.
晴雯
C.
芳官
D.
五儿
【单选题】Windows7中,被放入回收站的文件仍然占用:
A.
硬盘空间
B.
内存空间
C.
软件空间
D.
光盘空间
相关题目: