Sunday, October 24, 2021

[SOLVED] Header alloca.h in Windows

Issue

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.



Answered By - MSalters