#include #include #include "HistoryT.h" using namespace std; const string WordBuf[] {"hello", "world","how","are","you","today","Fine"}; int main() { HistoryTintBuf(6); HistoryT stringBuf; for(int i =0; i < 10; i++) { intBuf.Push(i); cout << " i = " << i << ": \t" ; intBuf.Spill(); } for (auto x: WordBuf){ stringBuf.Push(x); cout << x << " buf is now:\t"; stringBuf.Spill(); } return 0; }