Quote Originally Posted by Peter_APIIT View Post
Hello to all expect, how to i declare a two dimensional array which its row is dynamic?
Code:
#include <vector>
#include <string>

typedef std::vector<std::string> StringVector1D;
typedef std::vector<StringVector1D> StringVector2D;

int main()
{
   StringVector2D my2DArrayOfString(10, StringVector1D(20));  2d array of string, 10 x 20
   my2DArrayOfString[0][0] = "Test";
}
Regards,

Paul McKenzie