Skip to content

Commit 92dd0fe

Browse files
authored
Update README.md
1 parent 56e738e commit 92dd0fe

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

basic_content/struct/README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,10 +95,9 @@ Student s; //error
9595
```c++
9696
typedef struct Base1 {
9797
int v1;
98-
// private: //error!
99-
int v3;
98+
int v3;
10099
public: //显示声明public
101-
int v2;
100+
int v2;
102101
void print(){
103102
printf("%s\n","hello world");
104103
};

0 commit comments

Comments
 (0)