#include <string>
std::string my_strings[100];
This is C ++ using STL. In C, you would do it like this:
char * my_strings[100];
This reads as βmy lines are an array of 100 pointers to charβ and the last as lines are represented in C.
source
share