display elapsed time
I was hoping to add a label that could display total time elapsed for the simulation.
I added a cPrecisionClock, started it in updateGraphics(void) and used clock.getCurrentTimeSeconds() to get the elapsed time. However, every time I debugged, the program stopped immediately.
How can I make it right?