http://www.hackerschool.org/HS_Boards/zboard.php?id=QNA_programming&no=20 [º¹»ç]
- source.c -
#include <stdio.h>
#include <unistd.h>
int main( void )
{
char ch;
printf( "input please : " );
scanf( "%c" , &ch );
printf( "ASCII change is : %d\n" , ch );
}
- end of file -
´Ü¾î°íÄ¡¼¼¿ä~ : ¹®ÀÚ¿ -> ¹®ÀÚ
ÀÌ°Ô ÇÁ·Î±×·¥ÀÔ´Ï´Ù.
ÁöÁ¤µÈ ¹®ÀÚ¸¦ ¾Æ½ºÅ° Áï, Àú±â¼ º¸¸é Á¤¼ö·Î Ãâ·ÂÇϴ°Ͱú °°½À´Ï´Ù.
- use -
[hkpco@ftz hkpco]$ ./ascii
input please : c
ASCII change is : 99
[hkpco@ftz hkpco]$
- end -
ÀÌ·¸°Ô »ç¿ëÇÕ´Ï´Ù.
ºÐ¼®µµ Çغ¸½Ã±¸¿ä...
¼ö°íÇϼ¼¿ä ^^; |
Hit : 5020 Date : 2003/09/07 07:49
|