From: "Chris" Newsgroups: comp.os.msdos.djgpp Subject: wont compile in DJGPP Date: Sun, 16 Sep 2001 12:05:18 -0400 Lines: 46 Message-ID: <9o2ij8$ak3ka$1@ID-72226.news.dfncis.de> NNTP-Posting-Host: pool-151-197-190-184.phil.east.verizon.net (151.197.190.184) X-Trace: fu-berlin.de 1000656297 11144842 151.197.190.184 (16 [72226]) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2462.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2462.0000 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com can i have some help i cant seem to get this to compile in DJGPP #include #include #include #include #include #include int main() { std::ifstream in("dic.txt"); std::vector cs(std::numeric_limits::max()); std::istreambuf_iterator it(in); std::istreambuf_iterator 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<<": "<