I am attempting to work an print a getline code for example...
1 2 3 4 5 6 7
//Don't worry about the #includes and int main(). I am good enough at this to know the start of a program.
//I want to be able to put spaces in between words so i cant just use int.
vector <string> example [3][5]
cout << "What is it you would like to input?" << endl;
cin.getline(cin, example [3][5]
example is an two-dimensional array to vector<string>, so example[3][5] will:
a) accessing out of bounds
b) be the type of vector<string> and cannot be passed to getline.