asked on
#include "stdafx.h"
#include <cliext/vector>
using namespace System;
int main(array<System::String ^> ^args)
{
//Declare a vector of vectors of strings called myvector
cliext::vector<cliext::vector<String^>^> myvector = gcnew cliext::vector<cliext::vector<String^>>;
//Declare and initialize a string
String^ mystring;
mystring = L"test string";
//The line below is the one that I can't figure out what I'm doing wrong
//myvector->push_back(cliext::vector<String^>^); //(uncomment for the error)
//Push back the test string into a vector of strings within the vector, myvector
myvector[0]->push_back(mystring);
myvector[1]->push_back(mystring);
//This program results in a runtime error
return 0;
}