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

📄 jlist.cpp

📁 数据结构c++语言描述 Borland C++实现
💻 CPP
字号:


// test formula-based linear list class
// with right shift

#include <iostream.h>
#include "jlist.h"
#include "xcept.h"

void main(void)
{
   try {
      LinearList<int> L(15);
      L.Insert(0,9).Insert(0,8).Insert(0,7).Insert(0,6);
      L.Insert(0,5).Insert(0,4).Insert(0,3);
      cout << "List is " << L << endl;
      cout << "List shifted by 5 is "
           << L.RightShift(5)
           << endl;
      }
   catch (...) {
      cerr << "An exception has occurred" << endl;
      }
}

⌨️ 快捷键说明

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