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

📄 data_structure_seqlist.cpp

📁 有关队列的排序问题
💻 CPP
字号:
#include <iostream>
#include "seqlist.h"

using namespace std;

int main(void)
{
	 Sqlist la;
	 Sqlist lb;
	 ElemType a,b;
	 int i=0,j=0;

	 InitList_sq(la);

	 cout<<"here we will creat la, pls. input:"<<endl;
	 cin>>a;
	 while(a!=EndMark)
	 {
		  ListInsert_sq(la,++i,a);
		  cin>>a;
	 }
	 ListTraverse (la);

 	 InitList_sq(lb);
	 cout<<"here we will creat lb, pls. input:"<<endl;
	 cin>>b;
	 while(b!=EndMark)
	 {
		  ListInsert_sq(lb,++j,b);
		  cin>>b;
	 }
	 ListTraverse (lb);


	 return 0;
}



⌨️ 快捷键说明

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