I want to perform a printf() to display when the currently executing code was last compiled. Does C/C++ provide a macro that gives you that resolves to a timest
printf()
It looks like compilers are expected to provide a __TIMESTAMP__ macro, which ought to work for your purposes.
__TIMESTAMP__