0
Can I use an array of variable size in a class in c++.
For example,I want to find the largest element of an array.If I have to do this task using class and object, how can I do.I have tried,but failed. If anyone can, do help plz.
1 Respuesta
0
For a variable size , you may use vector...its size can be changed and works similar to an array...