Thread
:
Expected Constant Expression error-C++
View Single Post
DaWei
Team Leader
24Mar2007,01:06
VC2005 is a C/C++ compiler, but not C99 compliant. Few are. Dev-C++ will accept your method (it uses MinGW). I would advise you, at least for a while, to use dynamic allocation or move to C++ and use a container such as those provided in the STL.