|
#include<stdio.h>
#define N 10000
int fibonacci(int k)
{
if(k==1)
return 1;
if(k==2)
return 1;
return fibonacci(k-1)+fibonacci(k-2);
}
void main()
{
int k,l;
printf("<K번째 피보나치 수열>\nK의 값은 : ");
scanf("%d",&k);
l=fibonacci(k);
printf("%d번째 피보나치
|
- 페이지 2페이지
- 가격 300원
- 등록일 2010.07.22
- 파일종류 압축파일
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
lena=strlen2(a);
lenb=strlen2(b);
printf("strlen 실행결과 <헤더파일 이용> <a>: %d\n",strlen(a));
printf("strlen 실행결과 <함수 작성 이용> <a>: %d\n",lena);
printf("strlen 실행결과 <헤더파일 이용> <b>: %d\n",strlen(b));
printf("strlen 실행결
|
- 페이지 2페이지
- 가격 500원
- 등록일 2010.07.22
- 파일종류 기타
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define MAX_SIZE 50 //스택 및 변수 최대 사이즈
#define MAX_LENGTH 15 //변수 하나당 최대 사이즈
#define MAX_NUM 10 //변수 최대 개수
#define TRUE 1
#define FALSE 0
void push(char op); /
|
- 페이지 5페이지
- 가격 2,000원
- 등록일 2007.10.29
- 파일종류 압축파일
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
C로 구현한 이진검색
숫자가 입력된 파일(input)에서 숫자를 읽어와서
메뉴중 find value를 선택 후
찾고자 하는 값을 입력하면
그 값의 인덱스 번호를 출력
|
- 페이지 1페이지
- 가격 1,000원
- 등록일 2007.11.16
- 파일종류 압축파일
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
main.cpp
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <windows.h>
#define HASH_SIZE 53
typedef char* Item;
typedef struct Node{
Item name; // 이름
Item phoneNum;
|
- 페이지 54페이지
- 가격 3,000원
- 등록일 2013.09.15
- 파일종류 압축파일
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
\n\n");
printf("번호 선택 : [ ]\b\b\b");
fflush(stdin); // 버퍼 지우기
scanf("%c", &choice);
switch(choice)
{ 20.1KB
|
- 페이지 1페이지
- 가격 2,300원
- 등록일 2012.07.08
- 파일종류 기타
- 참고문헌 있음
- 최근 2주 판매 이력 없음
|
|
#include <stdio.h>
#include <stdlib.h>
#include <conio.h>
typedef struct double_node
{
struct double_node *llink;
int data;
struct double_node *rlink;
}linked_node;
linked_node *new_ad, *dpointer, *head;
|
- 페이지 1페이지
- 가격 1,000원
- 등록일 2005.02.28
- 파일종류 기타
- 참고문헌 없음
- 최근 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주 판매 이력 없음
|
|
#include <stdio.h>
#include <stdlib.h>
#include <conio.h>
#define ARRY_SIZE 10
int a[ARRY_SIZE];
int size = 0;
int init_array();
int ins_value();
int del_value();
int prn_array();
|
- 페이지 1페이지
- 가격 1,000원
- 등록일 2005.02.28
- 파일종류 기타
- 참고문헌 있음
- 최근 2주 판매 이력 없음
|
|
<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;
char term[MAX_TREM]={NULL, '+', '/', '*', 'a', 'b', 'c', 'd
|
- 페이지 1페이지
- 가격 1,000원
- 등록일 2005.02.28
- 파일종류 기타
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|