该文被密码保护。 阅读全文
posted @ 2022-05-14 18:17 卷哭你 阅读(0) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2022-05-06 09:20 卷哭你 阅读(0) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2021-10-25 22:40 卷哭你 阅读(1) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2021-10-12 07:39 卷哭你 阅读(1) 评论(0) 推荐(0) 编辑
摘要: #include <stdio.h> #include <stdlib.h> #include <string.h> union { int n; double x; }num; int main() { num.n = 10; num.x = 10.5; printf("num.n is %d\n 阅读全文
posted @ 2021-10-04 16:33 卷哭你 阅读(77) 评论(0) 推荐(0) 编辑
摘要: #include <stdio.h> #include <stdlib.h> #include <string.h> #define NUM 4 struct student { int rank; char* name; float score; }; struct student stu[] = 阅读全文
posted @ 2021-10-04 16:03 卷哭你 阅读(60) 评论(0) 推荐(0) 编辑
摘要: #include <stdio.h> #include <stdlib.h> #include <string.h> static struct s1 { char c[4]; char* s; }s1 = {"abc","def"}; static struct s2 { char* cp; st 阅读全文
posted @ 2021-10-04 15:15 卷哭你 阅读(60) 评论(0) 推荐(0) 编辑
摘要: #include <stdio.h>#include <stdlib.h>#include <string.h>#define M 100struct data{ int id; char name[20]; double price;}book[M];//在有M个元素的结构体数组s中查找名为nam 阅读全文
posted @ 2021-10-04 14:49 卷哭你 阅读(91) 评论(0) 推荐(0) 编辑
摘要: #include <stdio.h> #include <stdlib.h> struct abc { char c; float v; }; static void func1(struct abc b) { b.c = 'A'; b.v = 80.7; } static void func2(s 阅读全文
posted @ 2021-10-04 14:38 卷哭你 阅读(79) 评论(0) 推荐(0) 编辑
摘要: #include <stdio.h> #include <stdlib.h> struct i2c_dev { int fd; int addr; }; static struct i2c_dev i2c[3]; static struct i2c_dev* pi2c; int main() { p 阅读全文
posted @ 2021-10-04 11:04 卷哭你 阅读(208) 评论(0) 推荐(0) 编辑