Re: Help with understanding this please
- From: Richard<rgrdev@xxxxxxxxx>
- Date: Sat, 30 Aug 2008 22:41:22 +0200
lawrence.jones@xxxxxxxxxxx writes:
Richard <rgrdev@xxxxxxxxx> wrote [re. casting the return value of malloc]:
Richard Heathfield <rjh@xxxxxxxxxxxxxxx> writes:
Why on earth would I do that? What good could it possibly do?
Yeah because C++ is wrong and so was pre Ansi C.
C++ isn't wrong, it's different (C++ programs should use new rather than
malloc). Pre-ANSI C *was* wrong, that's why ANSI changed it.
My point seems to have eluded you. And that is it is NOT obvious. And
Heathfield's reply was less than useless.
.
- Follow-Ups:
- Re: Help with understanding this please
- From: Keith Thompson
- Re: Help with understanding this please
- References:
- Re: Help with understanding this please
- From: Richard Heathfield
- Re: Help with understanding this please
- From: mdh
- Re: Help with understanding this please
- From: Richard
- Re: Help with understanding this please
- Prev by Date: Re: Stats for comp.lang.c (last 7 days)
- Next by Date: Re: K&R Exercise 6-2
- Previous by thread: Re: Help with understanding this please
- Next by thread: Re: Help with understanding this please
- Index(es):
Relevant Pages
|