?? exam2-6.cpp
字號:
#include <iostream.h>
#include <stdlib.h>
#include "LinList.h"
void main(void)
{
LinList<int> myList;
int s[] = {1,3,9,11,8,6,22,16,15,10}, n = 10;
int temp;
for(int i = 0; i < n; i++)
myList.OrderInsert(s[i]);
for(i = 0; i < myList.ListSize(); i++)
{
temp = myList.GetData(i);
cout << temp << " ";
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -