Merge pull request #114 from zhangm365/master

修改struct一些错误写法
This commit is contained in:
Francis 2022-04-10 16:43:23 +08:00 committed by GitHub
commit ffa41e5e94
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -74,8 +74,8 @@ I am Base func
struct Student { struct Student {
}; };
Student(){} //Student(){}
Struct Student s; //ok struct Student s; //ok
Student s; //ok Student s; //ok
``` ```
@ -86,7 +86,7 @@ struct Student {
}; };
Student(){} Student(){}
Struct Student s; //ok struct Student s; //ok
Student s; //error Student s; //error
``` ```