salutations,
we are beginners.
we are trying to create a dynamic array of strings. we tried it in C, but, searching in the internet, we perceived that most people agreed that using std::vector in C++ is much better than relying on malloc and realloc in C to do a dynamic char**.
so, we are beginners in C++.
basically, what we want to do is to be able to, inside a for, add as many strings as we want into an array, without previously knowing how many elements we will have to add in each iteration of the for, and what the number of elements of the array will be.
note: this is not a homework problem.
thanks in advance.