tad@killer.DALLAS.TX.US (Tad Marko) (09/14/88)
I just got a copy of "The Waite Group's Microsoft C Bible" by Barkakati (great book!), and have been going through it learning all kinds of things that I was too lazy to wring out of MS's manual. On page 33 is a list of pre-defined public variables. Included on the list are _date_, _time_, and _timestamp_. These all allegedly contain information about the compile time of the program. Well, neato -- if I could get them to work. All attempts I have made to access these have failed, with the linker complaining that they are unresolved externals. Can someone show me an example that successfully uses these? Tad -- Tad Marko at the UNIX Connection FREE BBS AT&T 3B2, Dallas, Texas The next sentence you read will be true. The last sentence you read was false. UUCP: ihnp4!killer!tad InterN: TAD%UNTVAX.DECNET@UTADNX.CC.UTEXAS.EDU
bill@proxftl.UUCP (T. William Wells) (09/15/88)
In article <5520@killer.DALLAS.TX.US> tad@killer.DALLAS.TX.US (Tad Marko) writes:
: a list of pre-defined public variables. Included on the list are _date_,
: _time_, and _timestamp_.
Try them in upper case. Also, try using __ instead of _. ANSI
defines __DATE__ and __TIME__ and I suppose these are the things
being referred to.
---
Bill
novavax!proxftl!bill