Re: c interview



On 2006-08-02, gkumar007@xxxxxxxxx <gkumar007@xxxxxxxxx> wrote:
Hi Benson,
http://c-faq.com/malloc/cast.html
http://c-faq.com/malloc/mallocnocast.html
I would modify the sources appropriately.
Done.
I have modified the sources (except one) using malloc to not to cast.

Anything else needs to be corrected?


I've lost the original message. Could you repost the link?

--
Andrew Poelstra <http://www.wpsoftware.net/projects>
To reach me by email, use `apoelstra' at the above domain.
"Do BOTH ends of the cable need to be plugged in?" -Anon.
.



Relevant Pages

  • Re: c interview
    ... I would modify the sources appropriately. ... I have modified the sources using malloc to not to cast. ... rjh at above domain ...
    (comp.lang.c)
  • Re: c interview
    ... I would modify the sources appropriately. ... I have modified the sources using malloc to not to cast. ... superficial bugs - the ones the author put in deliberately (because that's ...
    (comp.lang.c)
  • Re: c interview
    ... I would modify the sources appropriately. ... I have modified the sources using malloc to not to cast. ... Gowri Kumar ...
    (comp.lang.c)
  • Re: c interview
    ... I would modify the sources appropriately. ... I have modified the sources using malloc to not to cast. ... I've lost the original message. ...
    (comp.lang.c)
  • Re: problem with memcpy and pointers/arrays confusion - again
    ... this second method is known as an explicit conversion, or cast. ... The cast, in effect, tells the compiler: ... the malloc function. ... function taking a size_t as a parameter and returning a void pointer (i.e. ...
    (comp.lang.c)