|
와 빼기를 수행하는 함수를 만들어 다음 배열을 이용하여 결과를 알아보시오.
4.2 4.3 3.85.2 2.1 1.8
+(-)
3.7 1.5 0.73.2 1.4 2.9
#include<stdio.h>
void mat_print(double (*mat1)[3],double (*mat2)[3]);
void add_print(double (*mat1)[3],double (*mat2)[3]);
void sub_print(double (*mat1)[3],d
|
- 페이지 13페이지
- 가격 2,000원
- 등록일 2006.11.24
- 파일종류 한글(hwp)
- 참고문헌 있음
- 최근 2주 판매 이력 없음
|
|
-
void in_it_card()
{
head=(card*)malloc(sizeof(card));
tail=(card*)malloc(sizeof(card));
head->next=tail;
tail->next=tail;
}
//-------------------------------------------------------------------------------
//구조체를 생성하고 삽입합니다.--------------------------------------------------
card
|
- 페이지 10페이지
- 가격 1,000원
- 등록일 2006.12.13
- 파일종류 한글(hwp)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
printf(\"***** 물품 관리 프로그램 *****\\n\\n\");
printf(\"================================\\n\");
printf(\">>> 물품 등록화면\\n\\n\");
printf(\"1. 제품명을 입력하시오.=>\");
gets(name);
fflush(stdin);
printf(\"2. 제조사을 입력하시오.=>\");
gets(company);
fflush(stdin);
p
|
- 페이지 5페이지
- 가격 1,000원
- 등록일 2006.12.12
- 파일종류 한글(hwp)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
APSIZE || y<0 || y>=MAPSIZE) return OK;
if(xy[y][x]==OtherPlayer) return OK;
if(xy[y][x]==NONE) return NO;
cnt=0;
result=NO;
map[y][x]=OK;
if(TestFlag(x,y-1)==FLAGFALSE) {
if(SefeDeleteTest(x,y-1,OtherPlayer)) {
cnt=cnt + 1;
}
} else {
cnt=cnt+1;
}
if(TestFlag(x-1,y)==FLAGFALSE) {
if(SefeDelet
|
- 페이지 14페이지
- 가격 2,000원
- 등록일 2006.12.13
- 파일종류 한글(hwp)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
****************************************************\\n\");
printf(\"%7s%18s%17s%18s\\n\", \"학점계\", \"평 점 계\", \"평점평균\", \"백분율환산\");
printf(\"\\n*************************************************************\\n\");
printf(\"%7d%17.1f%14.2f/4.5%17.1f\\n\", totalcredit, totalpoint,
(tota
|
- 페이지 3페이지
- 가격 1,000원
- 등록일 2006.12.10
- 파일종류 한글(hwp)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
)
{
for(j=0;j<3;j++)
{
printf(\"%6d\",B[i][j]);
}printf(\"\\n\");
} // B행렬 출력
printf(\"\\n\"); //개행 문자
printf(\" A + B\\n\\n\");
for(i=0;i<3;i++)
{
for(j=0;j<3;j++)
{
printf(\"%6d\",C[i][j]);
}printf(\"\\n\");
} //A+B 행렬 출력
printf(\"\\n\"); //개행 문자
printf(\"
|
- 페이지 3페이지
- 가격 800원
- 등록일 2006.12.11
- 파일종류 한글(hwp)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
0\';
a[2]=num3+\'0\';
}
int lennumber(char *a)
{
if(strlen(a)!=3) return 0;
else return 1;
}
int checknumber(char *a)
{
int i;
for(i=0 ; i<3 ; i++) if( (a[i]<\'0\') || (a[i]>\'9\') ) return 0;
return 1;
}
int doublenumber(char *a)
{
if( (a[0]==a[1]) || (a[1]==a[2]) || (a[0]==a[2]) ) return
|
- 페이지 4페이지
- 가격 1,000원
- 등록일 2006.12.11
- 파일종류 한글(hwp)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
역순 출력 :\");
for(i=count; count>=0; count--)
{
printf(\"%c\",str[count]);
}
printf(\"\\n\");
return 0;
}
|
- 페이지 1페이지
- 가격 600원
- 등록일 2006.12.10
- 파일종류 한글(hwp)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
[2],int result[][2])
{
int i=0,j=0,k=0;
for(i=0; i<2; i++)
{
for(j=0; j<2; j++)
{
for(k=0; k<3; k++)
{
*(result[i]+j) += mat1[i][k] * mat2[k][j];
}
}
}
}
void mult_print(int (*result)[2])
{
int i=0,j=0;
printf(\"\\t ★두 행렬의 곱셈 결과★\\n\\n\");
for(i=0; i<2; i++)
{
for(j=0; j<2; j+
|
- 페이지 3페이지
- 가격 600원
- 등록일 2006.12.10
- 파일종류 한글(hwp)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
rocessInput(void) /*키보드를 입력받아서 움직인다*/
{
int ch = getch();
switch(ch)
{
case 0xe0:
switch (getch())
{
case LEFT:
MovePlayer(-1, 0);
break;
case RIGHT:
MovePlayer(1, 0);
break;
case UP:
MovePlayer(0, -1);
break;
case DOWN:
MovePlayer(0, 1);
break;
}
break;
case \'q\':
case \'Q\':
return 1
|
- 페이지 10페이지
- 가격 1,000원
- 등록일 2006.12.13
- 파일종류 한글(hwp)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|