variable size arrays - C++ Forum - cplusplus.com - The C++ Resources Network

variable size arrays - C++ Forum - cplusplus.com - The C++ Resources Network

瀏覽:656
日期:2025-04-24
I believe you might be using an older compiler that does not support variable sized arrays, so you'll need to dynamically create it as Somelauw suggested. ... Hi, you will need to use a dynamic array 1 2 3 4 5 int *myArray; //Declare pointer to type of ar...看更多