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 timestamp during compilation?
printf()
You could use __DATE__ and __TIME__.
__DATE__
__TIME__
2.1m questions
2.1m answers
60 comments
57.0k users