The instructor __________every member of the team to tough physical training.
A. endured
B. experienced
C. submitted
D. subjected
第1题:
使用VC6打开考生文件夹下的工程proj1。此工程包含一个源程序文件mainl.cpp,但该程序运行有问题。请改正主函数中的错误,使程序的输出结果是:
member = 0
member = 5
member = 10
源程序文件 mainl.cpp 清单如下:
//mainl.cpp
include <iostream>
using namespace std;
class MyClass
{
public:
MyClass(int i)
{
member=i;
}
void SetMember(int m)
{
member=m;
}
int GetMember()const
{
return member;
}
void Print() const
{
cout<<"member="<<member<<end1;
}
private:
int member;
};
int main()
{
/***************found***********/
MyClass obj1;
obj1. Print();
MyClass obj2(3);
/***************found***********/
obj1.member = 5;
/***************found***********/
MyClass. SetMember(10);
obj1. Print();
obj2. Print();
return 0;
}
第2题:
OSI参考模型有哪些层,按顺序()。
A.Application、session、transport、network、physical、physical、datalink
B.Application、presentation、session、network、transport、datalink,physical
C.Application、presentation、session、transport、network、datalink、physical
D.Application、session、transport、physical、network、physical、datalink
第3题:
A.OntheDialer0interface,addthepppoeenablecommand
B.OntheDialer0Interface,addtheipmtu1496command
C.OntheATM0/0interface,addthedialerpool-member1command
D.OntheATM0/0interface,addthedialerpool-member0command
第4题:
A.crew
B.personnel
C.staff
D.member
第5题:
include<iostream>
include<string>
using namespace std;
class MyClass
{
public:
MyClass(int i=0){member=i;}
void SetMember(const string m){member="big"+m;m=member;}
string GetMember(){return member;}
void print()const{cout<<"Stu:"<<member<<endl;}
private:
string member;
};
void main()
{
MyClass obj1,*obj2;
string i="wang lin";
obj2=&obj1;
obj2->SetMember(i);
obj1.print();
}
第6题:
23、网卡链路集合的类型是team-master。