结构体相关笔记 一、结构体:1、结构体的定义:(1) struct date{ int month; int day; int year; };(2)对一个变量的定义:a. struct date{ int month; int day; int year; }today,tomorrow;b. struct date today; struct date tomorrow;2、赋值:(1) struct date today . 笔记 2023-10-01 39 点赞 0 评论 59 浏览