Home I can't add item to ( std::vector < std::vector <std::string> > )
 This question already has an answer here: add an element to an empty vector in c++: why push.back works and [] not 1 answer Loading data into a vector of structures 2 answers Why can't I add an item to vector : std::vector < std::vector > my_list; my_list[0][0] = "this is text"; std::cout << "text: " << my_list[0][0] << std::endl;  What am I doing wrong?