I want to write a program that takes inserted by user string (any characters plus spaces) in new dynamic multi-dimensional array (any row is word).
In other words, I want to divide strings on words and work with it later.
Ah sorry, totally missed that 0; So you want to take input from user for how big the array will be or do you just want the user to add items and expand the array dynamically?
I want to write a program that takes inserted by user string (any characters plus spaces) in new dynamic multi-dimensional array (any row is word).
In other words, I want to divide strings on words and work with it later.
For some reasons I couldnt use vector header.
I had updated the first post. And I think for better convenience I will constantly update my code in my first post.
Now the question is: how to replace cin.getline(cArrInput,256); to avoid definition of entered string length (only user knows it).