|
#include <stdio.h>//printf 이용을 위한 헤더파일포함
int swap(int *x,int *y);
main()//메인함수시작
{
int x=10, y=20;//변수x,y값 저장
swap(&x,&y);//swap 함수 호출
printf("x=%d,y=%d\n",x,y);//x,y값을 출력
}
int swap(int *x, int *y)
{
int z;//변수 z선언
z=*x;
*x=*y;
*y=z;
return
|
- 페이지 42페이지
- 가격 3,000원
- 등록일 2006.12.05
- 파일종류 한글(hwp)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
= GetCount;
pSelf ->SetAtDll = SetAtDll;
pSelf ->PrintDll = PrintDll;
pSelf ->MoveFirst = MoveFirst;
pSelf ->MoveLast = MoveLast;
pSelf ->MoveNext = MoveNext;
pSelf ->MovePrevious = MovePrevious;
return;
} 1. 두개의 헤더파일
2. 두개의 소스파일
|
- 페이지 24페이지
- 가격 3,000원
- 등록일 2005.01.04
- 파일종류 압축파일
- 참고문헌 없음
- 최근 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주 판매 이력 없음
|
|
r.*/
while (!emp(&tmp))
{
d= pop(&tmp); /* pop data from tmp */
if (!full(str))
push(d, str); /* push data on str */
} /* while(!emp(&tmp)) */
} /* FUCTION fill(stack *str, const char *str) */
/* print.c */
#include"polish.h"
void prn_data(data *dp)
{
switch (dp -> kind)
{
case operator: printf("
|
- 페이지 5페이지
- 가격 700원
- 등록일 2002.09.22
- 파일종류 한글(hwp)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
t1-t);
if (lastk%500 == 0) printf("\n");
}
flower() {
printf(" *************************************\n");
printf(" * PI *\n");
printf(" *************************************\n\n");
printf(" 3.");
}
|
- 페이지 2페이지
- 가격 700원
- 등록일 2002.09.22
- 파일종류 한글(hwp)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
ur) == L) {
while(priority(peer().what,cur) == L)
post[p_posi++] = pop();
if(priority(peer().what,cur) == E)
post[p_posi++] = pop();
added(in[i_posi]);
}
else return -1;
}
post[p_posi].what = END;
post[p_posi].value= 0;
return 0;
}
//priority
int priority(int left,int right)
{
int table[8][8] = {
{N
|
- 페이지 12페이지
- 가격 2,300원
- 등록일 2002.09.22
- 파일종류 한글(hwp)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
것을 표시했다. 그렇게 완성된 한 줄의 문자열을 출력하고 난 다음 다시 처음 가르켰던 주소를 다시 가르키게 하고 이번에는 대문자 B서부터 Z까지 대입하도록 했다.
프로그램 실행 결과
< 배열을 이용한 방법 >
알파벳으로 초기화한 문자
|
- 페이지 9페이지
- 가격 1,300원
- 등록일 2001.08.08
- 파일종류 한글(hwp)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
여기까지가 제가 만든 허프만 코드 프로그램입니다. 많이 부족하지만, 노력한 성의를 봐주셨으면 좋겠습니다.
<< Huffman.txt 입력 >>
<< 허프만 코드 출력 >> 허프만 코딩 소스
<< Huffman.txt 입력 >>
<< 허프만 코드 출력 >>
|
- 페이지 6페이지
- 가격 7,000원
- 등록일 2020.02.22
- 파일종류 한글(hwp)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
소스코드
#include <stdio.h>
int main ()
{
int hee_mid, sue_mid, in_mid, mi_mid, hee_fin, sue_fin, in_fin, mi_fin, fir, sec, thir, fort, name, hee_ave, sue_ave, in_ave, mi_ave, a,b;
char hee[] = "kimtaehee";
char sue[] = "kimhaesue";
char in[] = "hangain";
char mi[] = "hanjimi";
printf("kimtaeh
|
- 페이지 13페이지
- 가격 2,000원
- 등록일 2009.04.20
- 파일종류 한글(hwp)
- 참고문헌 있음
- 최근 2주 판매 이력 없음
|
|
C# 수업을 하면서 과제문제 . 시험. 레포트 등의 소스를 담았습니다.
29개 문제소스가 들어가 있습니다. 1. 거꾸로문장
2. 피보나치
3. 우물탈출
4. 369게임
5. 문자열대체
6. 팩토리얼
그외 23개 문제소스
|
- 페이지 29페이지
- 가격 3,000원
- 등록일 2009.07.07
- 파일종류 압축파일
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|