הערה (קובץ קוד)
קובץ זה הוא קובץ קוד מסוג CPP.
#include "HistoryAction.h"
#include "Utilities.h"
HistoryAction::HistoryAction(const std::vector<std::string>& historyVector)
: Action(), history(historyVector) {
}
void HistoryAction::execute() const {
Utilities::printFileContent(history);
}