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

Class Student

week15/examples/rtti.cpp:14–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected