/ ************************************************************************
*
* problem: Display an Ascii table. Basic version
* Author: M J Leslie
* Date: 12-Mar-94
*
************************************************************************/
#include <stdio.h> /* printf, putchar, fopen, fclose */
main()
{
int count;
for (count=0; count<=127; count++)
{
printf("%2x %c \n", count, count); /* O/P hex and character formats */
}
}
file: /Techref/language/ccpp/cref/PROBLEMS/ascii1.c, 0KB, , updated: 1997/4/21 08:53, local time: 2024/11/20 08:13,
|
| ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://linistepper.com/techref/language/ccpp/cref/PROBLEMS/ascii1.c"> language ccpp cref PROBLEMS ascii1</A> |
Did you find what you needed?
|