delorie.com/archives/browse.cgi | search |
From: | "Chris" <anthropomorphic1 AT hotmail DOT com> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: DJGPP archive: |
Date: | Tue, 18 Sep 2001 21:17:36 -0400 |
Lines: | 54 |
Message-ID: | <9o8roi$bni63$1@ID-107925.news.dfncis.de> |
References: | <H3tm7.1422$hE2 DOT 1114377 AT typhoon2 DOT gnilink DOT net> <200109082100 DOT RAA12512 AT envy DOT delorie DOT com> |
NNTP-Posting-Host: | pool-151-197-192-123.phil.east.verizon.net (151.197.192.123) |
X-Trace: | fu-berlin.de 1000862290 12306627 151.197.192.123 (16 [107925]) |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-Newsreader: | Microsoft Outlook Express 5.50.4522.1200 |
X-MimeOLE: | Produced By Microsoft MimeOLE V5.50.4522.1200 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
Where can we find the latest version of DJGPP with the C++ std. I cant seem to get this to compile with 2.95 #include <iostream> #include <algorithm> #include <vector> #include <fstream> #include <cstdlib> #include <limits> int main() { std::ifstream in("dic.txt"); std::vector<std::size_t> cs(std::numeric_limits<unsigned char>::max()); std::istreambuf_iterator<char> it(in); std::istreambuf_iterator<char> end; while(it != end) { unsigned char ch=(unsigned char)*it++; ++cs[ch]; } in.close(); unsigned char pos='\0'; std::size_t icount = 0; while(pos != cs.size()) { if (cs[pos] > 0) { std::cout<<(char)pos<<": "<<cs[pos]<<", "; if(++icount%5==0) std::cout<<'\n'; } ++pos; } std::cout<<"Goodbye"<<std::endl; "DJ Delorie" <dj AT delorie DOT com> wrote in message news:200109082100 DOT RAA12512 AT envy DOT delorie DOT com... > > > I beleive that there was a post a while back regarding a complete copy of > > the DJGPP archive for sale on CD-rom - all the packages & such that you > > could find on the ftp archives > > The DJGPP collection on CD-ROM, burned when you ask for it, $19.95: > > http://www.burnadisc.com/cgi-bin/WebObjects/Burnadisc.woa/wa/instantSTChecko ut?assets=104&discName=Simtel+Selects+GNU+2001 > > Part of the proceeds helps fund the DJGPP collection on Simtel, too!
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |