13 int main(
int argc,
char *argv[]) {
16 cerr <<
FATALERRORL <<
"run example with exactly one argument: a quotes enclosed list of strings." << endl;
20 string test = argv[1];
23 cout <<
" Original String: " << test << endl;
24 cout <<
" List of items in string: " << endl;
25 for (
auto &s: testResult) {
#define FATALERRORL
Fatal error label.
#define SQUAREITEM
Symbol for square item.
vector< std::string > getStringVectorFromString(const std::string &input)
Splits a string into a vector of strings using spaces as delimiters.
int main(int argc, char *argv[])