Re: Reading a string of unknown size
- From: james of tucson <jmcgill@[go_ahead_and_spam_me].arizona.edu>
- Date: Mon, 27 Nov 2006 22:01:09 -0700
Sundar wrote:
I am unable to understand the intricacies of the above statement.
Then understand a couple of simpler statements:
1. Do not cast the return value of malloc().
2. If you use malloc() and/or free(), be sure to #include stdlib.h
No intricacies needed :-)
.
- Follow-Ups:
- Re: Reading a string of unknown size
- From: Sundar
- Re: Reading a string of unknown size
- References:
- Re: Reading a string of unknown size
- From: Santosh
- Re: Reading a string of unknown size
- From: santosh
- Re: Reading a string of unknown size
- From: Sundar
- Re: Reading a string of unknown size
- Prev by Date: Re: empty parameterized macro
- Next by Date: Re: removing newline character from the buffer read by fgets
- Previous by thread: Re: Reading a string of unknown size
- Next by thread: Re: Reading a string of unknown size
- Index(es):