Search code examples
cwindowsvisual-studio-2010gccalloca

Header alloca.h in Windows


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.


Solution

  • See _alloca. Visual C uses an _ prefix for non-standard functions in the C headers.