I am working on a functional simulator project in c++. My aim is to store last 50 debug log statements in a rolling buffer and display them whenever there is a error in the