#include <string>
#include <iostream>
#include <cstdlib>

int
main (void)
{
  std::string s;

  s = "foo";
  s += " and bar";

  // For efficiency we could have used a constructor argument
  // to set up the initial string:
  //
  //   std::string s("foo");
  //
  //   s += " and bar";

  std::cout << s << std::endl;
}
