剛剛從西十二勝利大逃亡,呵呵,西門(mén)子的筆試也太bt了!什么都要考,</P>
Software Engineering Process ,UML/design patterns ,Java ,C /C++,Database,
Hardware,全E文的,看來(lái)西門(mén)子要“全才啊”!全球500強(qiáng)的要求也太高了吧,呵呵,看來(lái)自己也需要全面提高。
附:西門(mén)子筆試C++編程題一道:
#i nclude <iostream.h>
class A {
private:
int num;
public:
A() {
cout<<"Default constructor"<< endl;
}
~A() {
cout<<"Desconstructor"<< endl;
cout<<num<<endl;
}
A(const A &a){
cout<<"Copy constructor"<<endl;
}
void operator=(const A &a) {
cout<<"Overload operator"<<endl;
}
void SetNum(int n) {
num=n;
}
};
void main()
{
A a1;
A a2(a1);
A a3=a1;
A &a4=a1;
a1.SetNum(1);
a2.SetNum(2);
a3.SetNum(3);
a4.SetNum(4);
}
上一篇: 西門(mén)子筆試--南理工 下一篇: 西門(mén)子筆試
相關(guān)文章
熱點(diǎn)文章