+ 1

can I define an array or built-in array with variable size.

c++ doesn't allow for this and just take const number. how can I creat a way for take number of member from user and make it. array < int, x> myarray; int my array [x] ; Is there push and pull comment?

9th Apr 2019, 4:17 PM
Alireza Abbasi
Alireza Abbasi - avatar
1 Antwort