Advertisement
RicardasSim

gcc compile time stamp c

Nov 5th, 2018
235
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.21 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3.  
  4. int main (int argc, char **argv)
  5. {
  6.     const char* szBuildString = "This build was compiled at " __DATE__ " " __TIME__ ;
  7.  
  8.     printf("%s\n", szBuildString);
  9.  
  10.     return 0;
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement