摘要:
``` #cat snprintf.c #include #include #include struct student{ int age; char *name; }; int main(void) { /*t1 结构体指针*/ struct student *t1; t1 = malloc(sizeof(struct student)); t1->age = 11;... 阅读全文
摘要:
定义结构体class ,class结构体中包含student 结构体指针 如何访问,赋值给class student? ./struct_find class num:1, name:class1 student name:jack, age:22 `` 阅读全文
摘要:
``` #cat lstat.c #include #include #include #include #include #define MINORBITS 20 #define MINORMASK ((1U > MINORBITS)) #define MINOR(dev) ((unsigned int) ((dev) & MINORMASK)) int main(vo... 阅读全文