does anyone know how I can include the current build date as a variable in my code???
I'd like to use it as a somewhat dirty revision numbering system.
thanks
Matt
This is a discussion on auto build date within the C Programming forums, part of the General Programming Boards category; does anyone know how I can include the current build date as a variable in my code??? I'd like to ...
does anyone know how I can include the current build date as a variable in my code???
I'd like to use it as a somewhat dirty revision numbering system.
thanks
Matt
const char *build_date = __DATE__;
Should work in any ANSI-C compiler
There's also __TIME__ as well![]()
thanks allot...
worked like a charm...
~good monkeys, Excelent typewritters!...