|
void josephus(int n, int k)
{
node *cl;
int i;
InsertAtFront(n);
cl=front;
printf("시작 원형 리스트 : ");
|
- 페이지 2페이지
- 가격 500원
- 등록일 2010.07.22
- 파일종류 기타
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
void main()
{
int i,a[100],n;
printf("배열 A에 저장될 정수의 갯수는? :");
scanf("%d",&n);
for(i=0;i<n;i++){
scanf("%d",&a[i]);
}
printf("배열 A는 : ");
for(i=0;i<n;i++)
{
printf("%d ",a[i]);
}
printf("\n");
bubblesort(a,n);
|
- 페이지 2페이지
- 가격 500원
- 등록일 2010.07.22
- 파일종류 기타
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
#include<stdio.h>
void main()
{
int a[100][100],b[100][100];
int i,i2,i3,n;
int s;
FILE *fp;
if((fp=fopen("input.txt","r"))==NULL)
{
printf("FILE ERROR\n");
return;
}
fscanf(fp,"%d",&n);
|
- 페이지 1페이지
- 가격 500원
- 등록일 2010.07.22
- 파일종류 기타
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
#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주 판매 이력 없음
|