From: Martin Ambuhl Newsgroups: comp.os.msdos.djgpp Subject: Re: is 'ld --wrap' not for C++? Date: Wed, 15 Dec 1999 05:04:18 -0500 Content-Transfer-Encoding: 7bit References: <3856A623 DOT 14E00791 AT yahoo DOT com> <3857355F DOT CA2254D5 AT gs707 DOT com> X-Posted-Path-Was: not-for-mail X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-ELN-Date: 15 Dec 1999 10:04:40 GMT X-ELN-Insert-Date: Wed Dec 15 03:25:13 1999 Organization: Nocturnal Aviation Lines: 24 Mime-Version: 1.0 NNTP-Posting-Host: dialup-209.246.94.17.newyork2.level3.net Message-ID: <385767A2.18A4FAAD@earthlink.net> X-Mailer: Mozilla 4.7 [en] (Win95; U) To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Alexey Zakhlestine wrote: > > Well.... astually AFAIK "free" and "malloc" are C-routines.... not C++ > > In C++ you should use new/delete It may be preferable in most cases to use new and delete in C++, that first line has an extremely foul taste. The C++ standard includes free and malloc as functions with full citizenship, prototyped in the C++ header , which header does not exist in C (where does exist). -- Martin Ambuhl mambuhl AT earthlink DOT net What one knows is, in youth, of little moment; they know enough who know how to learn. - Henry Adams A thick skin is a gift from God. - Konrad Adenauer __________________________________________________________ Fight spam now! Get your free anti-spam service: http://www.brightmail.com