I used to program in C++ from about its start in 1990 to 2010 but changed to java since I wanted to equip my Android gsm with HP32S2. And because I had problems understanding changing complex C++-definitions of Strings (Stroustup 20.3) and Vector(16.3.1).
I spoiled a year to find that Java does not accept -- you won't believe it --unsigned ints, longs etc, which I regard the absolute base and fundament of all computing.
Can anybody tell me how to define an array<string>[] or vector<string>[] of different length strings such as "Sunday", "Monday" ... "Saturday" in C++ (Vector<char * >(7)) ?
If you already have the array with the weekdays you can use that to initialize the vector: std::vector<std::string> strVec(strArr, strArr + 7);
In C++11 You can initialize a vector the same way as an array: std::vector<std::string> strVec = {"Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"};