随笔分类 -  C/C++

摘要:1 void input() { 2 struct stud_node *q; 3 do { 4 q = (struct stud_node*)malloc(sizeof(struct stud_node)); 5 scanf("%d",&q->num); 6 if ( q->num != 0){ 阅读全文
posted @ 2019-12-07 12:34 郑NINE 阅读(2535) 评论(0) 推荐(0)
摘要:1 #include "node.h" 2 #include <stdio.h> 3 #include <stdlib.h> 4 5 typedef struct _node { 6 int value; 7 struct _node *next; 8 } Node; 9 10 typedef st 阅读全文
posted @ 2019-12-05 23:34 郑NINE 阅读(176) 评论(0) 推荐(0)