1、程序实现了单向链表头节点的创建,判断链表是否为空,在第i个位置插入数据,删除链表的操作; 首先在list.h文件中声明函数 1 #ifndef LIST_H_ 2 #define LIST_H_ 3 4 5 typedef int datatype; 6 7 /* 定义节点*/ 8 struct node_st 9 { 10 datatype dat
专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]
Copyright (C)ICode9.com, All Rights Reserved.
ICode9版权所有