填空题

【 】是一系列相关函数的模型或样板,这些函数的【 】形式相同,只是所针对的【 】不同。

【参考答案】

函数模板
<上一题 目录 下一题>
热门 试题

填空题
在C++语言中每个类都有一个【 】指针,该指针指向正在调用成员函数的对象。
单项选择题
下面程序的输出结果是( )。# include <iostream.h>class example{int a;public:example (intb) {a=b++;}void print ( ){a=a+1; cout << a << ;}void print ( ) const {cout << a << ;}};void main ( ){example x (3);const example y (2);x. print ( );y.print ( );}
A. (operator++(x) ).operator/(y)
B. (operator++(0) ).operator/(y)
C. operator/( (operator++(x,0) ),y)
D. operator/( (operator++(0) ),y)
相关试题
  • 数据库恢复是将数据库从【 】状态恢复到某...
  • 在算法正确的前提下,评价一个算法的两个标...
  • 通常,将软件产品从提出、实现、使用维护到...
  • 关键字ASC和DESC分别表示【 】的含义。
  • 在程序设计阶段应该采取【 】和逐步求精的...