I wonder what the correct syntax is to delete All contents like below:
2D vector
string vector
double vector
These 3 look like this:
std::vector<std::vector<string> > Word2(100, std::vector<string>(100));
std::vector<string> Word1(100);
std::vector<double> Number1(100);
Is it correct to do this:
delete[] Word2;
delete[] Word1;
delete[] Number1;
Thank you