|
emp = *str++)
{
if(temp == a)
{
printf("%s\n", str - 1);
break; // 안 쓸 경우 a로 시작되는 모든 문장 찾아 출력
}
}
if(temp == '\0')
printf("찾는 글자가 없습니다\n");
}
<밑에 계속>
#include <stdio.h>
void report1_strcmp(char *str1, char *str2)
// strcmp(a,b) a와 b를 비교
//
|
- 페이지 5페이지
- 가격 800원
- 등록일 2008.08.21
- 파일종류 한글(hwp)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
void main()
{
int no;
while(1)
{
printf("\n\t 입 력 : 1");
printf("\n\t 출 력 : 2");
printf("\n\t 종 료 : 9");
printf("\n\t 원하는 번호 선택 : ");
scanf("%d",&no);
switch(no)
{
case 1:
readsub();
break;
case 2:
writesub();
break;
case 9:
|
- 페이지 2페이지
- 가격 800원
- 등록일 2006.09.19
- 파일종류 텍스트(txt)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
clp(command,command,0);
printf("command not found\n");
exit(1);
}
wait(&exitcode);
}
close(fp);
}
|
- 페이지 1페이지
- 가격 1,000원
- 등록일 2006.05.02
- 파일종류 한글(hwp)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
sult = num * recurse(num-1);
return m_result;
}
else
{
printf("양수의 값만을 입력하시오.\n");
return 1;
}
}
|
- 페이지 1페이지
- 가격 800원
- 등록일 2008.12.08
- 파일종류 한글(hwp)
- 참고문헌 있음
- 최근 2주 판매 이력 없음
|
|
#include <stdio.h>
//long square(int);
long cube(int);
int main(void)
{
int i=0;
int n=5;
// for(i=0; i<=10; i++)
while(i<11)
{
printf("%d의 %d승 = %ld\n", n, i, cube(i));
i++;
}
return 0;
|
- 페이지 1페이지
- 가격 800원
- 등록일 2007.10.31
- 파일종류 기타
- 참고문헌 있음
- 최근 2주 판매 이력 없음
|
|
#include <stdio.h>
struct complex
{
double real;
double img;
};
typedef struct complex complex;
complex paircomplex1(complex com);
void printfcomplex(complex com);
void paircomplex2(complex *com);
int main(void)
{
complex comp={3.4, 4.8};
complex pcomp;
printfcomplex(comp);
|
- 페이지 1페이지
- 가격 800원
- 등록일 2007.10.31
- 파일종류 기타
- 참고문헌 있음
- 최근 2주 판매 이력 없음
|
|
------------\n");
for(rating=0; rating<=9; rating++)
{
printf("%10d%10d%8s", rating, freq[rating], " ");
if(freq[rating] > largest)
{
largest = freq[rating];
modeValue = rating;
}
for(h=1; h<=freq[rating]; h++)
{
printf("*");
}
printf("\n");
}
printf("---------------------------------------
|
- 페이지 3페이지
- 가격 700원
- 등록일 2006.12.11
- 파일종류 한글(hwp)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
rintf("1~100까지 4의 배수 합(sum[4])=%d\n", sum[4]);
printf("1~100까지 5의 배수 합(sum[5])=%d\n", sum[5]);
printf("1~100까지 각각 합의 합(sum[6])=%d\n", sum[6]);
printf("\n");
for(i=0;i<5;i++)
{
for(j=i+1;j<=6;j++)
{
if(sum[i]>sum[j])
{
k=sum[i];
sum[i]=sum[j];
sum[j]=k;
}
}
}
printf("*bubl
|
- 페이지 4페이지
- 가격 1,000원
- 등록일 2009.06.01
- 파일종류 한글(hwp)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
e "stdio.h"
main()
{
int i, j;
for (i=0; i<5; i++) {
for (j=1; j<100; j++) {
printf("%d", j);
if (j==5) break;
}
printf("\n");
}
}
3.8 continue 문
현재 위치에서 바로 조건 검사 위치로 진행한다.
예. #include "stdio.h"
main()
{
int x;
for (x=0; x<10; x++) {
continue;
printf("%d ", x); /* 이
|
- 페이지 9페이지
- 가격 1,300원
- 등록일 2003.02.10
- 파일종류 한글(hwp)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
key; // Hash Table 에 저장.
strcpy(rectable[hkey].r, rec);
rectable[hkey].flag = TRUE;
}
void DeleteOp(table rectable) // 삭제할 key값을 입력받는다.
{
int key;
printf("Enter Key : ");
scanf("%d", &key);
Delete(rectable, key);
}
void Delete(table rectable, int key)
{
int hkey, rh, cnt=0;
hkey = key %
|
- 페이지 8페이지
- 가격 500원
- 등록일 2003.12.05
- 파일종류 한글(hwp)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|