Header alloca.h in Windows

Viewed 16300

I can't see any alloca.h equivalent in Visual C 2010. How can one perform stack allocation in Visual C on Windows? I miss the function alloca.

2 Answers

There's no alloca.h in windows. You should

#include <malloc.h>

instead. The alloca function is there

Related