📄 c29.cpp
字号:
// c29.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include "QType.h"
#include <iostream.h>
int main(int argc, char* argv[])
{
QType q1, q2;
for ( int i = 1; i <= 10; ++i )
{
q1.Store(i);
q2.Store(i*i);
}
for ( i = 1; i <= 10; ++i )
{
cout << "Dequeue1:" << q1.Fetch() << endl;
cout << "Dequeue2:" << q2.Fetch() << endl;
}
return 0;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -