nico
nico

Reputation: 1067

how to use the compiling time as automatic versioning-info?

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

Answers (1)

Joshua Weinberg
Joshua Weinberg

Reputation: 28688

__DATE__ and __TIME__ are predefined macros that will expand to the current date, and time, respectively.

Upvotes: 3

Related Questions