How can I insert compilation timestamp information into an executable I build with Visual C++ 2005? I want to be able to output something like this when I execute the progra
__DATE__ __TIME__
are predefined as part of the standards for C99 so should be available to you. They run once with the preprocessor.