2021年8月24日

摘要: struct Student{ int num; char name[20]; char sex; int age; float score; char addr[30]; }; void demo() { struct Student s={1001,"lele",'M',20,98.5,"Sha 阅读全文
posted @ 2021-08-24 17:11 lodger47 阅读(30) 评论(0) 推荐(0)
摘要: goto介绍 利用了goto和if语句来实现了循环功能,它与while实现的循环功能一样 int day = 1; loop: if (day <= 31) { printf("%d\n", day); day++; goto loop; } setjmp,longjmp介绍 #include <s 阅读全文
posted @ 2021-08-24 10:38 lodger47 阅读(68) 评论(0) 推荐(0)

导航