emp2_02.cpp
来自「该包是数据结构的实验软件,来源于合肥工业大学人工智能与数据挖掘实验室,用来实现数」· C++ 代码 · 共 19 行
CPP
19 行
#include"seqlists.H"
main()
{
SeqList L;
int i;
set_SeqList(L,"L1",1,12);
for(i=1;i<=15;i++)
L.data[i]=i;
display_SeqList(L);
get_SeqList(L);
clear_SeqList(L);
move_SeqList_to(L,50,80);
xchg_SeqList_elmn(L,1,12,20);getch();
xchg_SeqList_elmn(L,2,11,20); getch();
xchg_SeqList_elmn(L,3,10,20);getch();
xchg_SeqList_elmn(L,4,9,20);getch();
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?