![Xiaodong Qi](/assets/img/avatar_default.png)
Visual Studio 2010 use a compiler that supports only C89, which only supports declaring variable at top of a local scope. Moving scope variable to the top of function should solve this problem.
Visual Studio 2010 use a compiler that supports only C89, which only supports declaring variable at top of a local scope. Moving scope variable to the top of function should solve this problem.