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

后端 未结 1 1034
不知归路
不知归路 2021-01-17 02:41

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 ?

相关标签:
1条回答
  • 2021-01-17 03:10

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

    0 讨论(0)
提交回复
热议问题