www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/01/25/16:51:31

From: rpolzer AT web DOT de (Rudolf Polzer)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Windows ME and DJGPP
References: <20010120205730 DOT 25849 DOT 00000491 AT ng-fd1 DOT aol DOT com> <3a6b7917 DOT 10793503 AT news DOT sci DOT fi> <3A6CB71F DOT 8B4E86C9 AT phekda DOT freeserve DOT co DOT uk> <94k3dc$lf9$1 AT nets3 DOT rz DOT RWTH-Aachen DOT DE> <slrn96u191 DOT 2cl DOT rpolzer AT rebounce DOT rpolzer-lx> <94pm3k$1qf$1 AT nets3 DOT rz DOT RWTH-Aachen DOT DE> <slrn970p9v DOT 28f DOT rpolzer AT rebounce DOT rpolzer-lx> <200101251807 DOT NAA27769 AT envy DOT delorie DOT com>
X-newsgroup: comp.os.msdos.djgpp
X-realname: DJ Delorie
X-Mailer: GehtDichNenScheissdreckAn 1.0
Message-ID: <slrn9713sn.ig.rpolzer@rebounce.rpolzer-lx>
User-Agent: slrn/0.9.6.2 (Linux)
Date: Thu, 25 Jan 2001 21:42:00 +0100
Lines: 20
NNTP-Posting-Host: 213.7.24.94
X-Trace: 980458268 news.freenet.de 17139 213.7.24.94
X-Complaints-To: abuse AT freenet DOT de
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

DJ Delorie <dj AT delorie DOT com> schrieb folgenden Unsinn:
> 
> > Overruns do not occur in C++ code, the STL checks everything (including
> > wrong indices of a vector). Only poor-style C++ code (or system-level code
> > which then is in C) uses C arrays, malloc and free.
> 
> Sorry, this is just blatantly false.  I've written some really heavy
> duty C++ code with C arrays, malloc, and free, and not had memory
> problems with it (nor would I consider it poor style, as I did use the
> C++ features *appropriately* for the project).  Use of STL has nothing
> to do with the C++ language; you could write a C equivalent of STL
> that has the same protection, but that would not change anything about
> the C language itself.

Perhaps I am a bit prejudiced by "The C++ Programming Language" by Bjarne
Stroustrup.

-- 
Nuper erat medicus, nunc est vispillo, Diaulus:
Quod vispillo facit, fecerat et medicus.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019