|
c;
int LOOP=START;
int OtherPlayer;
if(Player == PLAYER1) {
OtherPlayer = PLAYER2;
} else {
OtherPlayer = PLAYER1;
}
while(LOOP!=END){
c = getch();
switch(c)
{
case RIGHT:
x=x+1;
if(x >= MAPSIZE) x=x-1;
gotoxy(x,y);
break;
case LEFT:
x=x-1;
if(x < 0 ) x=x+1;
gotoxy(x,y);
break;
|
- 페이지 14페이지
- 가격 2,000원
- 등록일 2006.12.13
- 파일종류 한글(hwp)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
cessInput(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주 판매 이력 없음
|
|
**************************************************\n");
printf("%7s%18s%17s%18s\n", "학점계", "평 점 계", "평점평균", "백분율환산");
printf("\n*************************************************************\n");
printf("%7d%17.1f%14.2f/4.5%17.1f\n", totalcredit, totalpoint,
(totalpoint/totalcredit), 1
|
- 페이지 3페이지
- 가격 1,000원
- 등록일 2006.12.10
- 파일종류 한글(hwp)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
;
if(num == res)
{
printf("\n\t결과: 비겼습니다\n");
}
else if((num==1) && (res==2))
{
printf("\n\t결과: 컴퓨터 승리\n");
}
else if((num==1) && (res==3))
{
printf("\n\t결과: 사용자 승리\n");
}
else if((num==2) && (res==1))
{
printf("\n\t결과: 사용자 승리\n");
}
else if((num==2) && (res==3)
|
- 페이지 3페이지
- 가격 800원
- 등록일 2006.12.10
- 파일종류 한글(hwp)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
<<"날짜를 잘못입력하였습니다.\n";
return false;
}
break;
}
return true;
};
Calander::desti(Cal &data){
int total=count(date,data);
cout<<total<<" 일 남았습니다.\n";
}
char* Calander::substring(int ch, int i){
char a[5]=" ";
char aa[5];
itoa(ch,aa,10);
char *temp;
int len=strlen(a)+
|
- 페이지 9페이지
- 가격 1,000원
- 등록일 2006.12.13
- 파일종류 한글(hwp)
- 참고문헌 없음
- 최근 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++)
{
pr
|
- 페이지 3페이지
- 가격 600원
- 등록일 2006.12.10
- 파일종류 한글(hwp)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
e area(double r)
{
return (PI*r*r);
}
//둘레 함수
double circumference(double r)
{
return (2*PI*r);
}
|
- 페이지 1페이지
- 가격 800원
- 등록일 2006.12.10
- 파일종류 한글(hwp)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
합
}
}
for(i=0; i<ARRAY_NUMBER; i++)
{
g[4][4] += g[4][i] + g[i][4];
}
}
void print(int g[][5])
{
int i=0,j=0;
for(i=0; i<5; i++)
{
for(j=0; j<5; j++)
{
printf("%7d", g[i][j]);
}
printf("\n");
}
}
|
- 페이지 2페이지
- 가격 800원
- 등록일 2006.12.10
- 파일종류 한글(hwp)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
%0.0lf = %0.0lf\n",a,b,sum);
printf("두 정수의 평균: (%0.0lf + %0.0lf) / 2 = %0.1lf\n",a,b,average);
}
|
- 페이지 1페이지
- 가격 800원
- 등록일 2006.12.10
- 파일종류 한글(hwp)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
d년 %d월의 말일은 29일입니다.\n",year,month);
else
printf("%d년 %d월의 말일은 28일입니다.\n",year,month);
return 0;
}
|
- 페이지 1페이지
- 가격 800원
- 등록일 2006.12.10
- 파일종류 한글(hwp)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|