📄 mylist.cpp
字号:
// MyList.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include "VQueue.h"
#include <iostream.h>
#include <windows.h>
int main(int argc, char* argv[])
{
CVQueue m_VQ;
DWORD dwT = GetTickCount();
m_VQ.Add(1);
m_VQ.Add(2);
m_VQ.Add(4);
m_VQ.Add(6);
m_VQ.Add(7);
m_VQ.Add(5);
m_VQ.Add(3);
m_VQ.Add(9);
m_VQ.Add(8);
m_VQ.Delete(4);
m_VQ.Delete(3);
m_VQ.Add(4);
int dwTs = GetTickCount() - dwT;
cout << "time sec:" << dwTs << endl;
return 0;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -