How can I print the compile date and time in a program?
See the answer to FAQ V.28.
Cross Reference:
V.18: What are the standard predefined macros?
V.19: How can a program be made to print the line number where an error occurs?
V.20: How can a program be made to print the name of a source file where an error occurs?
V.21: How can you tell whether a program was compiled using C versus C++?
V.28: What are the _ _DATE_ _ and _ _TIME_ _ preprocessor commands?
See the answer to FAQ V.28.
Cross Reference:
V.18: What are the standard predefined macros?
V.19: How can a program be made to print the line number where an error occurs?
V.20: How can a program be made to print the name of a source file where an error occurs?
V.21: How can you tell whether a program was compiled using C versus C++?
V.28: What are the _ _DATE_ _ and _ _TIME_ _ preprocessor commands?
No comments:
Post a Comment