I'm trying to use alloca() in a program but every time I do, I get a compiler error. Isn't it in stdlib.h? How can I use it, and if not, why is it forbidden?

Thanks, Maddas
Moderator: Board moderators
BUGS
The alloca function is machine and compiler dependent. On many systems
its implementation is buggy. Its use is discouraged.
On many systems alloca cannot be used inside the list of arguments of a
function call, because the stack space reserved by alloca would appear
on the stack in the middle of the space for the function arguments.