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

Class Student

week15/examples/typeid.cpp:16–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14};
15
16class Student: public Person
17{
18 string studentid;
19public:
20 Student(string name="", string sid=""):Person(name),studentid(sid){};
21 string getInfo(){return name+":"+studentid;}
22};
23
24int main()
25{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected