is there any constant or #pragma to get the time and date, when the programm was beeing compiled to get a kind of an automatic version-info ?
__DATE__ and __TIME__ are predefined macros that will expand to the current date, and time, respectively.
__DATE__
__TIME__