0
The array
Can an array be of type "string"?
2 Answers
+ 1
Sure! You can declare arrays for all types you want!
#include <vector>
#include <string>
#include <iostream>
int main()
{
std::vector<std::string> stringVector;
}
0
Can you give an example, please. Using the type "string".