Settings

The page will reload to apply your changes.
Theme

ASCII Art Font

ASCII Art Menu

Original Usenet message from alt.ascii-art, 31 Aug 1998.
Re: ASCII Apendix?

Re: ASCII Apendix?

Henning 'Faroul' Peters (far...@gmx.net) wrote:
: Not quite - this puts out all ascii-chars, but not their numbers...
 [snip code]
: This is nice output :)

Oh, fine, if you want it fancy..

#include <stdio.h>
int main(void){int i=0;while(i<381){if(!(i%3))printf("%3i ",i/3);putchar
(i<98?"NULSOHSTXETXEOTENQACKBELBS HT LF VT FF CR SO SI DLEDC1DC2DC3DC4N\
AKSYNETBCANEM SUBESCFS GS RS US SP"[i]:i%3?32:i/3);if(!(++i%24))puts("")
;}return puts("127 DEL");}

Studying how the above 4-liner does what it does is, BTW, a nice beginner
to medium level exercise in C programming.

-- 
Ilmari Karonen (ilt...@sci.fi)
http://www.sci.fi/~iltzu/

Original message headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f996b,eaf990b1a6e494f2
X-Google-Attributes: gidf996b,public
From: ilt...@sci.fi (Ilmari Karonen)
Subject: Re: ASCII Apendix?
Date: 1998/08/31
Message-ID: <6sehjk$5i0$1...@tron.sci.fi>#1/1
X-Deja-AN: 386463940
Distribution: world
References: <6r2ub2$esh$1...@winter.news.erols.com> <6sc1pp$2r8$1...@tron.sci.fi> <far...@gmx.net>
Organization: (dis)Order of the Holy Spoon (or whatever)
Newsgroups: alt.ascii-art
About this message. This message was posted publicly to the newsgroup alt.ascii-art in 1998 and is mirrored here unchanged as part of the Historic Archives – only email addresses are masked. The artwork and text belong to their original authors: if you copy a piece, keep the artist's initials or signature intact and credit them where you can. Are you the author? Contact us to get your posts attributed, connected to your artist profile, or removed.

Report this message

Help us keep the archive clean and accurate. Reports are reviewed by a person – nothing is changed automatically.

Help classify this post