Re: Character List
From Faux_Pseudo <Fau...@yahoo.comERCIAL>
· alt.ascii-art
· 1 Apr 2002 09:06 · View full thread
· report
--(Once apon a time, in alt.ascii-art,)-- --(Rafal 'Raf256' Maj said it like only they can.)-- > bug <my....@my.sig> wrote in > news:3k5...@4ax.com: > >>#include <iostream> >> int main() >> { >> for (int i=32; i<128; i++) >> std::cout << (char) i; >> return 0; >> } > > > #include <iostream.h> > #include <conio.h> > int main() { > clrscr(); > int x=0; > for (int i=32; i<=126; i++) { > if (i<100) cout<<'0'; > cout<<i<<' '<<(char)i<<" | "; > if (x++>6) { cout<<endl; x=0; } > } > return 0; > } > > I was toying around with a shell script version but found that their was no clean way to do this because of two different reasons. 1. it depends on what ISO character set you are using. 2. to accommodate for the above you need to verify that what comes out is indeed ASCII. There is no POSIX character list for [:ascii:]. The first one is the nature of the beast and a consequence of using a high level interpretor. The second one I find unexcusable and a glaring short coming in POSIX. Can some one tell my why there is no [:ascii:] list? I can only assume this is intentional but can not figure out why. -- +-(faux@fugozi)-(0.09|0.07|0.20)-(00:55|Mon Apr 01)-+ cat ~/.{sig,uin} It's a damn poor mind that can only think of one way to spell a word. - Andrew Jackson UIN=66618055
Original message headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f996b,694b2c31500797b4 X-Google-Attributes: gidf996b,public X-Google-ArrivalTime: 2002-04-01 01:06:30 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!cox.net!news2.west.cox.net.POSTED!53ab2750!not-for-mail Newsgroups: alt.ascii-art From: Faux_Pseudo <Fau...@yahoo.comERCIAL> Subject: Re: Character List References: <200...@mb-fl.aol.com> <3k5...@4ax.com> <Xns91E3600EED93Erfdfciasdsdj412tr@213.180.128.20> Reply-To: Fau...@yahoo.comERCIAL Message-ID: <slrnaag8oj.690.Faux_Pseudo@fugozi.cx1209071-a> User-Agent: slrn/0.9.7.4 (Linux) Lines: 49 Date: Mon, 01 Apr 2002 09:06:27 GMT NNTP-Posting-Host: 68.8.9.87 X-Complaints-To: abu...@cox.net X-Trace: news2.west.cox.net 1017651987 68.8.9.87 (Mon, 01 Apr 2002 04:06:27 EST) NNTP-Posting-Date: Mon, 01 Apr 2002 04:06:27 EST Organization: Cox Communications Xref: archiver1.google.com alt.ascii-art:16488
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 2002 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.