|
h(change_node->llink); // 대체할 노드 탐색 함수 호출
change_node -> item = temp -> item; // 삭제 할 노드에 대체할 데이타 저장
del_tree(temp); //트리 구조를 위한 재연결 함수 호출
}
}
// 왼쪽 서브트리 탐색 후 가장 큰 데이타 호출 함수
node_pointer max_sea
|
- 페이지 5페이지
- 가격 1,000원
- 등록일 2004.06.19
- 파일종류 한글(hwp)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
함수호출 전과 후의 시간 측정
QueryPerformanceCounter(&startTime);
result = ackermann(m,n);
QueryPerformanceCounter(&endTime);
printf("Recursive: %d,%d= %ld\n",m, n, result);
printf("Duration: %4.3f micro sec.\n\n",
(double)(endTime.QuadPart-startTime.QuadPart)/freq.Qu
|
- 페이지 5페이지
- 가격 1,000원
- 등록일 2010.05.28
- 파일종류 압축파일
- 참고문헌 있음
- 최근 2주 판매 이력 없음
|
|
1. 개발프로그램 제목
미로탐색 프로그램을 작성(입구에서 출구까지의 경로를 출력)
2. 사용 언어
Microsoft Visual Studio 6.0, 2005
3. 개발동기
자료구조를 수업을 들으면서 만들 수 있는 프로그램을 생각하던 중 흥미가 있으면서
재미도 있을
|
- 페이지 15페이지
- 가격 4,000원
- 등록일 2010.04.29
- 파일종류 압축파일
- 참고문헌 있음
- 최근 2주 판매 이력 없음
|
|
#include<stdio.h>
void MoveDisk(int,char,char,char);
int main(void){
int n;
printf("Input Disk Number >> ");
scanf("%d",&n);
// MoveDisk로 n값과 x,y,z 문자를 넘긴다.
MoveDisk(n,'x','y','z');
return 0;
} 4주 - Recursion
|
- 페이지 5페이지
- 가격 1,000원
- 등록일 2010.05.28
- 파일종류 압축파일
- 참고문헌 있음
- 최근 2주 판매 이력 없음
|
|
if(inputStr[10]!=0){
printf("Error:below 10characters\n");
return 0;
}
//strTofloat함수실행
outputNum = strTofloat(inputStr);
//strTofloat함수실행결과출력
printf("\nstrTofloat returned : %f\n", outputNum);
printBit_Float(outputNum);
return 0;
} 1주 - Real Number Representation
|
- 페이지 5페이지
- 가격 1,000원
- 등록일 2010.05.28
- 파일종류 압축파일
- 참고문헌 있음
- 최근 2주 판매 이력 없음
|
|
// Maze
#include<stdio.h>
#define MAX_ROW 20
#define MAX_COL 20
#define MAX_STACK_SIZE (MAX_ROW*MAX_COL)
#define FALSE 0 // FALSE의 초기화
#define TRUE 1 // TRUE의 초기화
#define Empty -1
#define North 0
#define East 2
typedef struct{
int eRow;
int eCol;
int eDir;
}eleme
|
- 페이지 5페이지
- 가격 1,000원
- 등록일 2010.05.28
- 파일종류 압축파일
- 참고문헌 있음
- 최근 2주 판매 이력 없음
|
|
#include <stdio.h>
#include <string.h>
#define MAX_STACK_SIZE 100 // stack의최대크기
#define MAX_EXPR_SIZE 100 // 수식의최대크기
/* 사용될operation */
typedef enum {
lparen, rparen, uplus, uminus, power, times, divide, mod, plus, minus, eos, operand
}precedence;
/* Token(연
|
- 페이지 5페이지
- 가격 1,500원
- 등록일 2010.05.28
- 파일종류 압축파일
- 참고문헌 있음
- 최근 2주 판매 이력 없음
|
|
// Queue.h
#include <stdio.h>
#include <stdlib.h>// malloc, free의사용
#define TRUE 1
#define FALSE 0
typedef int boolean;
typedef char element;// element 타입의정의
typedef struct _listNode *listPointer;// 노드에대하여포인터로타입정의
typedef struct _listNode { // 리스트
|
- 페이지 5페이지
- 가격 1,500원
- 등록일 2010.05.28
- 파일종류 압축파일
- 참고문헌 있음
- 최근 2주 판매 이력 없음
|
|
1장 연습문제
1.2절
2. Horner의 법칙은 주어진 점 에서 최소의 곱으로 다항식 A(x)=++ ..... ++를 계산하는 것으로 이 법칙은
A()=(...((+)+...+)+)
이다. Horner의 법칙을 사용하여 다항식을 계산하는 C프로그램을 작성하라.
/*horner.c */
/*Horner\'s rule --- 최소
|
- 페이지 22페이지
- 가격 3,000원
- 등록일 2011.11.08
- 파일종류 한글(hwp)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
\n\n");
printf("번호 선택 : [ ]\b\b\b");
fflush(stdin); // 버퍼 지우기
scanf("%c", &choice);
switch(choice)
{ 20.1KB
|
- 페이지 1페이지
- 가격 2,300원
- 등록일 2012.07.08
- 파일종류 기타
- 참고문헌 있음
- 최근 2주 판매 이력 없음
|