Re: malloc modifying a passed string
- From: CBFalconer <cbfalconer@xxxxxxxxx>
- Date: Thu, 28 Jul 2005 14:50:19 GMT
Scott Taylor wrote:
>
> I've searched through the FAQ but I can't find this problem, which
> seems like it should be a newbie one. Here is a following code
> sample, without the necessary testing of malloc, including of
> standard libraries, etc...
>
> main() {
That's int main(void), BTW. Post a complete, compilable version
which displays the problem. The crystal balls are on strike.
--
"If you want to post a followup via groups.google.com, don't use
the broken "Reply" link at the bottom of the article. Click on
"show options" at the top of the article, then click on the
"Reply" at the bottom of the article headers." - Keith Thompson
.
- References:
- malloc modifying a passed string
- From: Scott Taylor
- malloc modifying a passed string
- Prev by Date: Re: Paasing global variables to functions
- Next by Date: Re: Use of 'extern' keyword
- Previous by thread: Re: malloc modifying a passed string
- Index(es):
Relevant Pages
|