Skip to content

Commit

Permalink
修改struct一些错误写法
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangm365 committed Jan 19, 2021
1 parent 9b6ac0e commit abd8105
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 abd8105

Please sign in to comment.