修改struct一些错误写法

This commit is contained in:
zhangm365 2021-01-19 15:25:33 +08:00
parent 9920450b37
commit 80398af669

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
``` ```