#include "bert.h" #include Bert::Bert(char *s) { printf("Creating a new Bert (%s)\n", s); str = s; } Bert::~Bert() { printf("Bert -- destructor called (%s)\n", str.c_str()); } void Bert::add_bert() { str += "bert"; } string Bert::getString() { return str; }