Skip to content

Commit

Permalink
Merge pull request Light-City#114 from zhangm365/master
Browse files Browse the repository at this point in the history
修改struct一些错误写法
  • Loading branch information
Light-City committed Apr 10, 2022
2 parents 4ed46c4 + 87d3991 commit ffa41e5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions basic_content/struct/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ I am Base func
struct Student {

};
Student(){}
Struct Student s; //ok
//Student(){}
struct Student s; //ok
Student s; //ok
```
Expand All @@ -86,7 +86,7 @@ struct Student {
};
Student(){}
Struct Student s; //ok
struct Student s; //ok
Student s; //error
```

Expand Down

0 comments on commit ffa41e5

Please sign in to comment.