Reputation: 1067
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 ?
Upvotes: 0
Views: 186
Reputation: 28688
__DATE__
and __TIME__
are predefined macros that will expand to the current date, and time, respectively.
Upvotes: 3