41int main(
int argc,
char* argv[]) {
43 cerr <<
FATALERRORL <<
"run example with exactly one argument: a quotes enclosed list of strings." << endl;
47 string test = argv[1];
50 cout <<
" Original String: " << test << endl;
51 cout <<
" List of items in string: " << endl;
52 for (
auto& s : testResult) {
int main(int argc, char *argv[])
Public API for the gutilities namespace.
Common constants and console-formatting macros used across gutilities and related code.
#define FATALERRORL
Standardized fatal error label prefix (bold red).
#define SQUAREITEM
Square glyph used for list formatting in console logs.
vector< std::string > getStringVectorFromString(const std::string &input)
Splits a string into a vector of strings using whitespace as delimiters.