/****************************************************************************** * This program demonstrates string concatenation. * * Copyright © 2020 Richard Lesh. All rights reserved. *****************************************************************************/ #undef NDEBUG #include #include using namespace std; int main(int argc, char **argv) { string const a = "one"; string const b = "two"; string const c = "three"; string d = a + b + c; cout << d << endl; d = a + string("\t") + b + string("\n") + c; cout << d << endl; return 0; }