A.std_logic_arith、std_logic_unsigned、std_logic_signed
B.std_logic_arith、std_logic_unsigned、std_logic_1164
C.std_logic_unsigned、std_logic_1164、std_logic_arith
D.std_logic_1164、std_logic_arith、std_logic_unsigned、std_logic_signed
第1题:
如果类的作者没有实现赋值运算符(=)重载,则编译器会自动为这个类提供一个赋值操作符, 在什么情况下需要程序员自定义赋值操作符,解释原因?
第2题:
79、假定K是一个类名,并有定义“K k; int j;”,已知K中重载了操作符 (),且语句“j=k(3);”和“k(5)=99;”都能顺利执行,说明该操作符函数的原形只可能是()。
A.K operator () (int);
B.int operator ()(int&);
C.int & operator ()(int);
D.K &operator()(int);
第3题:
STD_LOGIC_1164程序包是 IEEE 库中最常用的程序包
第4题:
cin是I/O流类库定义的()
A.函数
B.类
C.对象
D.操作符
第5题:
假定K是一个类名,并有定义“K k;int j;”,已知K中重载了操作符(),且语句“j=k(3);”和“k(5)=99;”都能顺利执行,说明该操作符函数的原形只可能是()。
A.K operator ()(int );
B.int operator ()(int &);
C.int &operator ()(int );
D.K &operator ()(int );