Hi
The following my code snippet
void main() { vector<vector<string> > edge_set_test; [B]edge_set_test[0][0]="1"; edge_set_test[0][1]="0";[/B] cout<<"\nTesting values "<<edge_set_test[0][0]<<" "<<edge_set_test[0][1]; }
While assiging the values to the vector it throws runtime error what can be the reason for this..[code=c++]
void main()
{
vector<vector<string> > edge_set_test;
edge_set_test[0][0]="1";
edge_set_test[0][1]="0";
cout<<"\nTesting values "<<edge_set_test[0][0]<<" "<<edge_set_test[0][1];
}
While assiging the values to the vector it throws runtime error what can be the reason for this..