笔记软件在2023/3/29 20:56:48推送该笔记
类似于下面方式
struct Student {
uint256 id;
uint256 score;
}
Student public student; // 初始一个student结构体
constructor(uint id,uint score){
student.id = id;
student.score = score;
}
笔记软件在2023/3/29 20:56:48推送该笔记
类似于下面方式
struct Student {
uint256 id;
uint256 score;
}
Student public student; // 初始一个student结构体
constructor(uint id,uint score){
student.id = id;
student.score = score;
}