I was wondering how to output the current time in C++... Specifically, I'd like to print the time in this format:
I know that there are functions time, ctime, and others, but they are quite confusing. I was wondering if an elite C++ programmer knew the best/easiest way to present the current time of day in that format.Code:02:56:32:231 //where hh:mm:ss:MMM, hh = hours, mm = mins, ss = seconds, MMM = milliseconds
Thanks for your help!