MCPcopy Create free account
hub / github.com/RPISEC/MBE / Greeter

Class Greeter

src/lecture/cpp/cpp_lec02.cpp:26–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24};
25
26class Greeter {
27 public:
28 virtual void sayHello(const char *name)
29 {
30 printf("Hello, %s!\n", name);
31 }
32};
33
34void greet(Greeter *greeter);
35void doNothing();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected