049. #include 문 이해하기049. #include 문 이해하기
Posted at 2010. 11. 22. 04:34 | Posted in Computer/초보자를 위한 C 언어 300제
#include <stdio.h>
#include <conio.h>
main()
{
int ch;
printf( "아무키나 누르세요...\n" );
ch = getch();
printf( "%c 키가 눌려졌습니다.", ch );
}
'Computer > 초보자를 위한 C 언어 300제' 카테고리의 다른 글
| 051. 문자 입력받기(getch) (0) | 2010.11.22 |
|---|---|
| 050. 매크로 이해하기 (0) | 2010.11.22 |
| 048. 변수의 범위 이해하기 (0) | 2010.11.22 |
| 047. 함수와 인수 이해하기 (0) | 2010.11.22 |
| 046. 데이터형 정의하기 (0) | 2010.11.22 |
