|
include < stdio.h >
#include < string.h >
#include <malloc.h>
struct queue {
char data;
struct queue *next;
};
struct queue *head;
int addq(char n)
{
struct queue *q, *tmp;
q = (struct queue*)malloc(sizeof(struct queue));
if( !q ) {
printf(\"memory allocation error\\n\");
}
q->d
|
- 페이지 6페이지
- 가격 1,300원
- 등록일 2006.02.28
- 파일종류 한글(hwp)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
< 큐를 구현한 연결리스트 표현 >
[ 결과 ] 큐를 구현한 연결리스트 소스
|
- 페이지 4페이지
- 가격 1,200원
- 등록일 2009.05.22
- 파일종류 한글(hwp)
- 참고문헌 있음
- 최근 2주 판매 이력 없음
|
|
void main()
{
char data[5];
int in_num1;
int end=1; // while 탈출용
while(end){
printf("\n1.자료입력\n2.자료삭제\n3.자료출력\n4.EXIT\n");
scanf("%d",&in_num1);
switch(in_num1){
case 1: printf("자료입력(최대5)");
scanf("%s",data);
insert_Node(data);
bre
|
- 페이지 1페이지
- 가격 1,000원
- 등록일 2007.02.09
- 파일종류 기타
- 참고문헌 있음
- 최근 2주 판매 이력 없음
|
|
양방향 LinkedList로 구현한 큐입니다.
|
- 페이지 4페이지
- 가격 1,000원
- 등록일 2006.03.05
- 파일종류 기타
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
#include <stdio.h>
#include <stdlib.h>
#include <conio.h>
#define SIZE 5
int init_Q();
int insert_Q(char insert_data);
int delete_Q();
int print_Q();
int isempty();
int front_exam();
typedef struct Q_node{
int data;
Q_node *link;
}queue_node;
queue_node *new
|
- 페이지 1페이지
- 가격 1,000원
- 등록일 2005.02.28
- 파일종류 기타
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|