Re: Array of pointers in a struct
fix wrote:[color=blue]
> Barry Schwarz wrote:
>[color=green][color=darkred]
>>> OK, I didn't. But why does my program can still use malloca?[/color]
>>
>> What is malloca?[/color]
>
> It's a typo.[/color]
No, it's a non-standard extension used by some systems to allocate
memory on the stack (on systems with a stack). This has the
advantage/flaw that the memory is automatically deallocated when
the function is exited and that allocation can be very quick.
--
A: Because it fouls the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
fix wrote:[color=blue]
> Barry Schwarz wrote:
>[color=green][color=darkred]
>>> OK, I didn't. But why does my program can still use malloca?[/color]
>>
>> What is malloca?[/color]
>
> It's a typo.[/color]
No, it's a non-standard extension used by some systems to allocate
memory on the stack (on systems with a stack). This has the
advantage/flaw that the memory is automatically deallocated when
the function is exited and that allocation can be very quick.
--
A: Because it fouls the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
Comment