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

Function main

src/lecture/cpp/cpp_lec01.cpp:24–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22};
23
24int
25main(int argc, char *argv[])
26{
27 Foo foo;
28 Bar bar;
29 Baz baz;
30 Bar *barbaz = (Bar *)new Baz;
31
32 foo.greet();
33 puts("\n");
34
35 bar.greet();
36 bar.me();
37 bar.dismiss();
38 puts("\n");
39
40 barbaz->me();
41 barbaz->dismiss();
42
43 return 0;
44}
45

Callers

nothing calls this directly

Calls 3

greetMethod · 0.45
meMethod · 0.45
dismissMethod · 0.45

Tested by

no test coverage detected