Mail Archives: djgpp/1997/06/03/14:49:04
From: | gautam AT interlog DOT com (Gautam N. Lad)
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | Re: ASCII code table
|
Date: | Sun, 01 Jun 97 06:55:44 GMT
|
Organization: | InterLog Internet Services
|
Lines: | 38
|
Message-ID: | <5mtct3$dmm@news.interlog.com>
|
References: | <5mtboh$mu8 AT crcnis3 DOT unl DOT edu>
|
NNTP-Posting-Host: | ip236-28.cc.interlog.com
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Hi,
>I am looking for ASCII code table ASAP.
>Whoever happen to have ASCII table, please send me the text file.
>I will appreciate your help.
Can't you just make it in C? Sheesh! ;)
Here's a code that will do that. It'll write the table to
file ASCII:
//-------------------- START OF ASCII LOOK-UP TABLE CODE
#include <stdio.h>
void main()
{
FILE *fp;
int c=0;
if((fp=fopen("ASCII","w"))==NULL)
exit(0);
for(c=0;c<256;c++)
fprintf(fp,"%3d %3c\n",c,c);
fclose(fp);
}
//------------------------ END OF ASCII LOOK-UP TABLE CODE
****************************************************
* Gautam N. Lad *
*--------------------------------------------------*
* *
* E-Mail : gautam AT interlog DOT com *
* Website : http://www.interlog.com/~gautam *
* *
* OS/2, DOS/Windows, Graphics Gallery, Software, *
* Links, Rayzor Editor/2, POV-Ray, TexturEyes, *
* POV-PAK and lots lots lots more!!!!!!! *
****************************************************
- Raw text -