| delorie.com/archives/browse.cgi | search |
| From: | "Rob Kramer" <robk AT cyberway DOT com DOT sg> |
| Newsgroups: | comp.os.msdos.djgpp |
| References: | <34539894 DOT 0110031004 DOT 1133f1ea AT posting DOT google DOT com> <3bbc1bb6 AT news DOT starhub DOT net DOT sg> <34539894 DOT 0110040747 DOT 30a97610 AT posting DOT google DOT com> |
| Subject: | Re: New Moron on the Block :) |
| Date: | Fri, 5 Oct 2001 10:09:25 +0800 |
| Lines: | 20 |
| X-Priority: | 3 |
| X-MSMail-Priority: | Normal |
| X-Newsreader: | Microsoft Outlook Express 5.50.4133.2400 |
| X-MimeOLE: | Produced By Microsoft MimeOLE V5.50.4133.2400 |
| NNTP-Posting-Host: | 203.116.126.209 |
| Message-ID: | <3bbd17a5@news.starhub.net.sg> |
| X-Trace: | 5 Oct 2001 10:15:01 +0800, 203.116.126.209 |
| Organization: | StarHub Internet Pte Ltd |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
| Reply-To: | djgpp AT delorie DOT com |
"pouzzler" <pouzzler AT aol DOT com> wrote in message
> However, casting causes me problems, I have to twiddle for years
> making _read work, CString is so easy that basic::string drives me
> nuts, ... so I decided to learn some REAL programming. And if drawing
> the bmp from scratch doesn't qualify, then I'm done for.
I've never used MFC or CString since I only program for Unix and MSDOS. I
hear most people complain about std::string missing the printf-like
formatter, but I don't miss printf at all.
Instead of _read() overloads you could perhaps look at ifstream, which can
read bytes and shorts and whatnot already. Read Nicolai Josuttis' book if
you want to get serious with STL.
Bye,
Rob
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |