Function banner(const char, const string&, ostream&)

Function Documentation

void banner(const char c, const string &s, ostream &fout = std::cout)

Prints a banner-like message with message s, padded with character c.

Parameters:
  • c – character for padding

  • s – string to print

  • fout – output stream