how to add an elemnt in an array cpp code example
Example: how to append an element to an array in cpp
std::vector<std::string> x = {"a", "b", "c"};
x.push_back("d");
std::vector<std::string> x = {"a", "b", "c"};
x.push_back("d");