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

📄 main.cpp

📁 我才学C++,这个是我写的一个数据结构事例程序
💻 CPP
字号:

#include<iostream>
using namespace std;

#include<stdlib.h>
//typedef int DataType;
#include"SeqList.h"
#include"SeqList2.cpp"
void main(void)
{
	SeqList<int> myList(100);
	int n=10;

	for(int i=0;i<n;i++)
	{
		myList.Insert(i+1,i);
		cout<<myList.GetData(i)<<" ";
	}
	cout<<endl;
	myList.Delete(4);
	for(int j=0;j<myList.Size();j++)
		cout<<myList.GetData(j)<<" ";
	cout<<endl;
	

}

⌨️ 快捷键说明

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