home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
World of Shareware - Software Farm 2
/
wosw_2.zip
/
wosw_2
/
CPROG
/
CENVIW1.ZIP
/
ASCII.CMM
next >
Wrap
Text File
|
1993-06-15
|
505b
|
19 lines
/***************************************************
*** Ascii.cmm - Display the ASCII character set ***
***************************************************/
#define ROW_COUNT 20
#define COL_COUNT 13
Unprintables = "\a\b\t\r\n\032\033"
for ( row = 0; row < ROW_COUNT; row++ ) {
for ( col = 0; col < COL_COUNT; col++ ) {
c = ROW_COUNT*col + row
if c < 256
printf("%c-%-3d ",(NULL==strchr(Unprintables,c))?c:'.',c)
}
printf("\n")
}
getch();