diff --git a/basic_content/struct/README.md b/basic_content/struct/README.md index bf93e8c..147723c 100644 --- a/basic_content/struct/README.md +++ b/basic_content/struct/README.md @@ -95,10 +95,9 @@ Student s; //error ```c++ typedef struct Base1 { int v1; -// private: //error! - int v3; + int v3; public: //显示声明public - int v2; + int v2; void print(){ printf("%s\n","hello world"); };