C++ Array of Strings

There are a few different ways of creating a c++ Arrays of Strings #include <array>using namespace std;std::array<string,4> family = {"brother","sister","father","mom"} // std::array usage std::array<string,3> family = {"Me","You","Them"} #include <iostream> #include <array> using namespace std; int main(){ std::array<string,6> classmates = {"George",...
Read More
Top