cout edit in eventQ.h