From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,HEADER_SPAM autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,b30bd69fa8f63cb2 X-Google-Attributes: gid103376,public X-Google-Thread: fc772,b30bd69fa8f63cb2 X-Google-Attributes: gidfc772,public X-Google-ArrivalTime: 2003-06-10 09:49:33 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!newsfeed.news2me.com!canoe.uoregon.edu!logbridge.uoregon.edu!uwm.edu!rpi!not-for-mail From: mheaney@on2.com (Matthew Heaney) Newsgroups: comp.lang.ada,comp.lang.c++.moderated Subject: Re: C bug of the day Date: 10 Jun 2003 12:51:52 -0400 Organization: http://groups.google.com/ Sender: cppmods@netlab.cs.rpi.edu Message-ID: <1ec946d1.0306091445.24e155e1@posting.google.com> References: <3EDCCE72.4020707@cogeco.ca> NNTP-Posting-Host: netlab.cs.rpi.edu X-Original-Date: 9 Jun 2003 15:45:30 -0700 X-Submission-Address: c++-submit@netlab.cs.rpi.edu X-Auth: PGPMoose V1.1 PGP comp.lang.c++.moderated iQBVAwUAPuYMoUHMCo9UcraBAQEOswH8CjdNRvQ3G0v9I7B+3of0QX5dbTJUjMdr 60PKB3YAzw0GaaQVKkdHxmNt2KcHlGbTqnt3edshL1MdkTzeZtCKbQ== =3Zd7 Xref: archiver1.google.com comp.lang.ada:38911 comp.lang.c++.moderated:68096 Date: 2003-06-10T12:51:52-04:00 List-Id: "Ken Hagan" wrote in message news:... > > Ada programmers are probably using Ada precisely because they > disagree with that viewpoint. I'd guess that an Ada programmer > forced to write in C++ would always use IO streams rather than > the C library. (This thread is cross-posted, so presumably I'm > about to find out. :) You are correct. I use string, iostream, stringstream classes for just about everything. I don't think I've ever used printf or scanf in any C++ program I've written, and rolled my own replacements for the deprecated strstream classes (which were horribly designed). My latest project was to write a streambuf that directs its output to ::OutputDebugString during sync(). [ Send an empty e-mail to c++-help@netlab.cs.rpi.edu for info ] [ about comp.lang.c++.moderated. First time posters: do this! ]