⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 stdafx.h

📁 单链表的操作 初始条件: 已知A
💻 H
字号:
#include <stdio.h>
#include <tchar.h>
//ElemType为int
typedef int ElemType;

//单链表中节点类型定义
struct Lnode{
	ElemType data;
	Lnode *next;
};

//创建单链表
Lnode * creatList(int n);

//输出指定的单链表并输出其长度
void printList(Lnode *HL);

//对指定链表排序
void ordered_L(Lnode *&HL);

//比较并得出A B两链表中相同的元素,组成C表输出
Lnode* judgeExist(Lnode *A,Lnode *B);

//在A表中删除E表的元素:
void DeleteTheSame(Lnode *&A,Lnode *E);

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -