Re: Rallocating a struct * *
From: Sheldon Simms (sheldonsimms_at_yahoo.com)
Date: 11/07/03
- Next message: Jirka Klaue: "Re: just got myself a copy of K&R..."
- Previous message: James Kuyper: "Re: va_arg and short"
- In reply to: Henrik J: "Rallocating a struct * *"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 07 Nov 2003 11:21:18 -0500
On Fri, 07 Nov 2003 06:50:35 -0800, Henrik J wrote:
> Hello..!
>
> I have this problem:
> Following shows allocation of my struct:
C++ code snipped
> 44 times that dosn't make sense...
After converting your code to C, I was able to realloc 45
times. If your intention is to write C (and not C++), then
try to post a minimal complete (compilable!) program that
demonstrates your problem. Then we'll be better able to help
you out.
-Sheldon
- Next message: Jirka Klaue: "Re: just got myself a copy of K&R..."
- Previous message: James Kuyper: "Re: va_arg and short"
- In reply to: Henrik J: "Rallocating a struct * *"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|