Sometimes c++ plays me big time. I really can\'t think of why this does/doesn\'t work and I\'d be happy if any of you knew.
I call this function once every second on a t
I guess that's because STDOUT is buffered, and printing \n flushes the buffer - see SO on printf \n behaviour