Re: ASCII Apendix?
From Henning 'Faroul' Peters <far...@gmx.net>
· alt.ascii-art
· 30 Aug 1998 00:00 · View full thread
· report
> : where can I find a list of every ASCII character and their C/C++/JAVA code > : numbers? > #include <stdio.h> > void main(void){char ch=32;while(ch++<126)putchar(ch);putchar('\n');} Not quite - this puts out all ascii-chars, but not their numbers... #include <stdio.h> void main(void) { char ch=32; while(ch++<126) { printf("%3d: %c - ",(int)ch,ch); if (ch & 8) putchar('\n'); } } This is nice output :) Faroul -- Henning `Faroul' Peters - far...@gmx.net If you think, you're wrong, you might be right!
Original message headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f996b,eaf990b1a6e494f2 X-Google-Attributes: gidf996b,public From: far...@gmx.net (Henning 'Faroul' Peters) Subject: Re: ASCII Apendix? Date: 1998/08/30 Message-ID: <far...@gmx.net>#1/1 X-Deja-AN: 386398035 Distribution: world References: <6r2ub2$esh$1...@winter.news.erols.com> <6sc1pp$2r8$1...@tron.sci.fi> Organization: somewhere outa there... Newsgroups: alt.ascii-art
Related ASCII art in the Gallery
Explore these categories from our collection of 11,000+ artworks:
Make your own ASCII art
Turn images, text or 3D into ASCII, or draw your own – right in your browser.
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.