Code intended to declare an array of length unknown at compile time. This was probably written with the assumption that C ++ compilers for Windows purposes do not support the declaration of such arrays (for example, Visual C ++ does not support this). Therefore, when compiling is done for Windows purposes, the alloca() function is used to achieve the same effect.
source share