QUEUE 구현 C++
본 자료는 미리보기를 지원하지 않습니다.
닫기
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
해당 자료는 4페이지 까지만 미리보기를 제공합니다.
4페이지 이후부터 다운로드 후 확인할 수 있습니다.

소개글

QUEUE 구현 C++에 대한 보고서 자료입니다.

목차

[Debug]
QUEUE.CPP
QUEUE.dsp
QUEUE.dsw
QUEUE.ncb
QUEUE.opt
QUEUE.plg


1.10MB
파일 13, 폴더 1

본문내용

QUEUE.CPP



//    *********
//    * QUEUE *
//    *********


#include
#include

#define Q 7    //QUEUE의 크기

void Input();    //입력 함수
void Delete();    //삭제 함수
void Exit();    //종료 함수
void Print();    //출력 함수
void Exception();    //1,2,9번을 제외한 나머지 번호 입력시 처리 함수

    int array[Q];
    int front=-1;    //front 초기 상태 , 데이타 삭제시 1증가
    int rear=front;    //rear 초기 상태 , 데이타 입력시 1증가


void main()
{
    int num;

    printf("*********\n");
    printf("* QUEUE *\n");
    printf("*********\n\n");

    while(1){
    printf("\n[1]입력 [2]삭제 [9]종료\n");
    fflush(stdin);
    scanf("%d",&num);
    //system("cls");

    switch(num)
    {
    case 1 : Input();
        break;
    case 2 : Delete();
        break;
    case 9 : Exit();
     exit(0);
    default: Exception();
     break;
    }
    }    
}

void Input()
{





▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒



QUEUE.dsp




# Microsoft Developer Studio Project File - Name="QUEUE" - Package Owner=<4>
# Microsoft Developer Studio Generated Build File, Format Version 6.00
# ** DO NOT EDIT **

# TARGTYPE "Win32 (x86) Console Application" 0x0103

CFG=QUEUE - Win32 Debug
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
!MESSAGE use the Export Makefile command and run
!MESSAGE
!MESSAGE NMAKE /f "QUEUE.mak".
!MESSAGE
!MESSAGE You can specify a configuration when running NMAKE
!MESSAGE by defining the macro CFG on the command line. For example:
!MESSAGE
!MESSAGE NMAKE /f "QUEUE.mak" CFG="QUEUE - Win32 Debug"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
!MESSAGE "QUEUE - Win32 Release" (based on "Win32 (x86) Console Application")
!MESSAGE "QUEUE - Win32 Debug" (based on "Win32 (x86) Console Application")
!MESSAGE

# Begin Project
# PROP AllowPerConfigDependencies 0
# PROP Scc_ProjName ""
# PROP Scc_LocalPath ""
CPP=cl.exe
RSC=rc.exe

키워드

QUEUE,   QUEUE구현,   C언어,   C,   C++,   ,   큐구현,   QUEUE 구현
  • 가격7,900
  • 페이지수13페이지
  • 등록일2013.12.16
  • 저작시기2009.4
  • 파일형식압축파일(zip)
  • 자료번호#897817
본 자료는 최근 2주간 다운받은 회원이 없습니다.
청소해
다운로드 장바구니