본문내용
#include
#include `YQueue.h`
int main()
{
YQueue TestI(4);
YQueue TestC(4);
int a = 1, b = 2, c = 4, d = 5;
TestI.Insert(a);
a = TestI.Delete();
TestI.Insert(b);
TestI.Insert(c);
TestI.Insert(d);
// a = TestI.Delete();
b = TestI.Delete();
c = TestI.Delete();
d = TestI.Delete();
printf(`%d %d %d %d`,a,b,c,d);
char a1 = `a`, b1 = `b`, c1 = `c`, d1 = `d`;
TestC.Insert(a1);
a1 = TestC.Delete();
TestC.Insert(
#include `YQueue.h`
int main()
{
YQueue
YQueue
int a = 1, b = 2, c = 4, d = 5;
TestI.Insert(a);
a = TestI.Delete();
TestI.Insert(b);
TestI.Insert(c);
TestI.Insert(d);
// a = TestI.Delete();
b = TestI.Delete();
c = TestI.Delete();
d = TestI.Delete();
printf(`%d %d %d %d`,a,b,c,d);
char a1 = `a`, b1 = `b`, c1 = `c`, d1 = `d`;
TestC.Insert(a1);
a1 = TestC.Delete();
TestC.Insert(