C++ Static array vs. Dynamic array? - Stack Overflow

C++ Static array vs. Dynamic array? - Stack Overflow

瀏覽:1396
日期:2025-05-01
I think the semantics being used in your class are confusing. What's probably meant by 'static' is simply "constant size", and what's probably meant by "dynamic" is "variable size". In that case then, a constant size array might look like this: int x[10];...看更多