s*********y 发帖数: 615 | 1 在会议室里看到上个礼拜面试新毕业生的东西,,发两个出来,估计可能对大家也没啥
实际作用,反正等着开会也没啥事干,,就当给自己以后找工作攒个人品了。。呵呵,
,我不会软件组的,所以也不知道难易,也没答案
behavioral:
What is the hardest software problem that you have debugged. how did you go
about doing it? what caused the bug
XML Parser(我们的东西会用到xml。所以)
XML exists to define tests available on some system:
Design and implement a class to:
1.store and manage the test records parsed from this XML file.
2. Obtain a test name and filename given a test identifier.
An XML parser has been written for you, apply named TestXmlParser. The
TestXmlParser will use your class to store the test records. As such a
public method with the following signature must be provided by your class:
void addTestData(int id, const std::string& name, const std::string& file);
另外一个
Order of constructors/destructor
Provide the terminal output for the following program:
#include
using namespace std;
class A
{
public:
A() {cout <<"A"<
~A() {cout <<"~A"<
};
class B:public A
{
public:
B() {cout <<"B"<
~B() {cout <<"~B"<
};
int main()
{
A*a=new A;
B*b=new B;
A*c=new B;
delete b;
delete a;
delete c;
return 0;
} |
|