I am extremely new to C++ and would greatly appreciate any advice regarding the following question:
I am trying to create a 2D array of CStrings, however it needs to be declared dynamically for my application. I have read up on numerous forums but I just cant seem to find what I am looking for.
From what I have read the best way to do this would be to use a vector of CStrings. However, I am not to sure how to declare this.
What I would like to be able to do is adress any CString in the following way:
myarray = "hello";
Each example I have found requires me to first set the size of the array in the declaration before compilation.
Please could someone point me in the right direction?