MCPcopy Create free account
hub / github.com/ShiqiYu/CPP / Student

Method Student

week09/examples/constructor.cpp:13–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11 bool male;
12 public:
13 Student()
14 {
15 name[0] = '\0';
16 born = 0;
17 male = false;
18 cout << "Constructor: Person()" << endl;
19 }
20 Student(const char * initName): born(0), male(false)
21 {
22 setName(initName);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected