unless the variable size is marked const, the compiler will not be sure of its value at compile time. The C++ compiler cannot size the array at compile time, so it generates a compile time error.
- C++ style dynamic size arrays (new and delete)
- from Learning C++ by Creating Games with UE4
- Publisher: Packt Publishing
- Released: February 2015
Share this highlighthttp://www.safaribooksonline.com/a/learning-c-by/11565302/