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

Method Student

week09/examples/array.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 = new char[1024]{0};
16 born = 0;
17 male = false;
18 cout << "Constructor: Person()" << endl;
19 }
20 Student(const char * initName, int initBorn, bool isMale)
21 {
22 name = new char[1024];

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected