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

Class Base1

base_code/struct_function.cpp:26–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24};
25
26typedef struct Base1 {
27 int v1;
28// private: //error!
29 int v3;
30public: //显示声明public
31 int v2;
32 static void print(){
33 printf("%s\n","hello world");
34 };
35} B;
36
37struct Derived:Base {
38

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected