摘要: 结构体指针必须初始化 转载地址忘记了存 struct student{ char *name; int score; struct student* next; }stu,*stu1; int main(){ stu.name = (char*)malloc(sizeof(char)); /*1.结 阅读全文
posted @ 2019-06-24 22:04 转瞬即逝1995 阅读(8544) 评论(1) 推荐(1)
摘要: 转载:https://blog.csdn.net/a_ran/article/details/44755759 结构体的三种初始化方式 #include <stdio.h> struct student_st { char c; int score; const char *name; }; sta 阅读全文
posted @ 2019-06-24 22:01 转瞬即逝1995 阅读(10523) 评论(0) 推荐(1)
摘要: I P提供不可靠、无连接的数据报传送服务: 不可靠(u n r e l i a b l e)的意思是它不能保证 I P数据报能成功地到达目的地。 无连接(c o n n e c t i o n l e s s)这个术语的意思是 I P并不维护任何关于后续数据报的状态信息。 I P数据报的格式 普通的 阅读全文
posted @ 2019-06-24 21:40 转瞬即逝1995 阅读(174) 评论(0) 推荐(0)