|
intf(fp,\"%d\",top->data - MAX_ASCII);
}
else if ( top->data > 47 ){// 숫자가 아닌 operand인 경우.
printf(\"%c\",top->data);
fprintf(fp,\"%c\",top->data);
}
else print_token( top->data );// 나머지 경우.
top = top->link;
}
}
stack_ptr invert ( stack_ptr lead ){ // invert stack
st
|
- 페이지 16페이지
- 가격 2,000원
- 등록일 2006.11.26
- 파일종류 한글(hwp)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
#include
#include
#define MAX_TERM 100 // 항의 개수.
#define MAX_MULTI_TERM 10000 // 곱한 항의 개수 MAX_TERM * MAX_TERM
#define COMPARE(A,B) ( ( A < B ) ? -1 : ( A == B ) ? 0 : 1 )
typedef struct polynomaial
{
float coef;
int expon;
}poly;
poly terms[MAX_TERM];
int avail = 0;
|
- 페이지 5페이지
- 가격 1,500원
- 등록일 2007.07.16
- 파일종류 압축파일
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
MAX_ELEMENTS; i++)
visited[i] = FALSE;
}
name_ptr MakeName(char *a){ /* 이름 생성 */
name_ptr Newname;
Newname = malloc(sizeof(struct NameType));
if(Newname == NULL){
printf(\"Malloc() couldn\'t find any memory\\n\");
exit(1);
}
strcpy(Newname->name, a);
Newname->next = NULL;
Newname->down
|
- 페이지 10페이지
- 가격 1,000원
- 등록일 2003.09.28
- 파일종류 한글(hwp)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
MAX_STACK_SIZE-1)
stack_full();
stack[++(*ptop)]=item;
}
precedence pop(int *ptop){
if(*ptop == -1)
stack_empty();
return stack[(*ptop)--];
}
void push_1(int *ptop, int item){ /* eval()함수를 위한 스택, 수식의 계산을 위해 stack_1을 사용했다. */
if(*ptop >= MAX_STACK_SIZE-1)
stack_full();
stack_
|
- 페이지 7페이지
- 가격 1,000원
- 등록일 2003.09.28
- 파일종류 한글(hwp)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
#include <stdio.h>
#include <stdlib.h>
#include <conio.h>
#define MAX_TREM 8
typedef struct tree_node{
bool lthread;
struct tree_node *lchild;
char data;
struct tree_node *rchild;
bool rthread;
}tree_noded;
tree_noded *head_node, *new_node[15], *current_node;
|
- 페이지 1페이지
- 가격 1,000원
- 등록일 2005.02.28
- 파일종류 기타
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
#include <stdio.h>
#include <stdlib.h>
#include <conio.h>
#define MAX_SIZE 20
#define MAX_TERM 8
typedef struct tree_node{
struct tree_node *lchild;
char data;
struct tree_node *rchild;
}tree_noded;
tree_noded *head, *new_node[MAX_TERM], *current_node;
char te
|
- 페이지 1페이지
- 가격 1,000원
- 등록일 2005.02.28
- 파일종류 기타
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
가지게 되는 변수
l 원소수를 표현
l 예) a = new int[4]; 실행 뒤 a.length 는 4 가 됨
l int[] a; 선언 후에는 a.length 를 사용하면 a 에 대한 객체가 생성되지 않았기 때문에 a 는 null 이 되어 length 접근 불가. 시스템은 에러 메시지를 생성 자료형
|
- 페이지 3페이지
- 가격 1,000원
- 등록일 2003.12.30
- 파일종류 한글(hwp)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
MAX_CIRCUL_QUEUE_SIZE;
tmp = queue->queue[queue->front];// 반환될 아이템 저장.
// 반환된 곳 0으로 초기화
memset( &(queue->queue[queue->front] ), 0 , sizeof(PLACE));
--(queue->size);// 사이즈 감소
return tmp;// 저장된 아이템 반환
}
// 뒤로 삽입.
void queue_push_back ( QU
|
- 페이지 58페이지
- 가격 3,000원
- 등록일 2011.11.08
- 파일종류 한글(hwp)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
heap\");
gotoxy(3,67);
putchar(16);
puts(\" : merge\");
gotoxy(4,67);
putchar(17);
puts(\" : quick\");
}
void insert_sort_time(int nArray[])
{
DWORD start,end,sum=0;
int h,i,j,k=1;
int *insert_data;
int x=50,y=11,a;
for(h=0; h<10; h++)
{
insert_data = (int *)malloc(sizeof(int)*nArray[h]);
for(i=0
|
- 페이지 39페이지
- 가격 3,000원
- 등록일 2011.11.09
- 파일종류 한글(hwp)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
MAX_CIRCUL_QUEUE_SIZE;
tmp = queue->queue[queue->front];// 반환될 아이템 저장.
// 반환된 곳 0으로 초기화
memset( &(queue->queue[queue->front] ), 0 , sizeof(PLACE));
--(queue->size);// 사이즈 감소
return tmp;// 저장된 아이템 반환
}
// 뒤로 삽입.
void queue_push_back ( QU
|
- 페이지 58페이지
- 가격 1,500원
- 등록일 2011.11.16
- 파일종류 한글(hwp)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|