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

📄 linklisttest.cpp

📁 是链接表测试的一个程序
💻 CPP
字号:
// LinkListTest.cpp : Defines the entry point for the console application.
//

#include "stdafx.h"


#include <string.h>
#include <iostream.h>
#include "LinkList.h"

int main(void)
{
	LinkList_T l;
#if 0
	l.init();
#endif

#if 1
	l.prepend("1");
	l.prepend("2");
	l.prepend("3");
#endif

#if 1
	l.append("4");
	l.append("5");
#endif 

	for(int i=0; i<5; i++)
	{
		cout<<i<<" is "<<l.contents(i)<<endl;
	}
	
  return 0;
}

⌨️ 快捷键说明

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