home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 17 / CD_ASCQ_17_101194.iso / dos / prg / sphinx / examples / other / details.c__ < prev    next >
Encoding:
Text File  |  1993-04-30  |  708 b   |  26 lines

  1. /*
  2.     NAME:  DETAILS.C--
  3.     DESCRIPTION:  This program demonstrates some of the compiler constants
  4.                   available.  The two used below are:
  5.                   __DATESTR__  which is a string containing the current
  6.                                date and time at compile time.
  7.                   __COMPILER__ which is a string containing the compiler's
  8.                                name and version number.
  9.                   Both of these are strings.
  10. */
  11.  
  12. ?include "WRITE.H--"
  13.  
  14.  
  15. main ()
  16. {
  17. WRITELN();
  18. WRITESTR("Program compiled on:  ");
  19. WRITESTR(__DATESTR__);
  20. WRITELN();
  21. WRITESTR("Program compiled with:  ");
  22. WRITESTR(__COMPILER__);
  23. WRITELN();
  24. }
  25.  
  26. /* end of DETAILS.C-- */