#ifndef _PRINTME2_H_
#define _PRINTME2_H_
#include <iostream>
using std::cout;
/*
* This class is constructed with an integer, which it
* will print surrounded by [].
*/
class PrintMe2 {
private:
int num; // Here is the number.
public:
// Remember the number.
PrintMe2(int m) { num = m; }
// Print the string.
virtual void print() { cout << "[" << num << "]"; }
};
#endif