#include "..\CookHeader.h"

int SIZE = 5;
Array <string> queue = { "화사", "None", "None", "None", "None" };
int front = -1, rear = 0;

string deQueue() {
	if (front == rear) {
		println("큐가 비었습니다.");
		return "None";
	}
	front++;
	string data = queue[front];
	queue[front] = "None";
	return data;
}

int main() {
	string retData;
	printArray(queue);
	retData = deQueue();
	println("추출한 데이터-->" + retData);
	printArray(queue);
	retData = deQueue();
}