MCPcopy Create free account
hub / github.com/EricPengShuai/Interview / Engineer

Class Engineer

base_code/virtual.cpp:30–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28};
29
30class Engineer: public Employee
31{
32 void raiseSalary() override
33 {
34 cout<<200<<endl;
35 }
36
37 void promote() override
38 { /* Manager specific promote */ }
39};
40
41
42void globalRaiseSalary(Employee *emp[], int n)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected