SergiuAndreiM

123

Jun 4th, 2017
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.28 KB | None | 0 0
  1. #include <stdio.h>
  2.  
  3. void WriteVersion()
  4. {
  5. #ifndef __WIN32__
  6.     FILE* fp = fopen("VERSION.txt", "w");
  7.  
  8.     if (fp)
  9.     {
  10.         fprintf(fp, "emulated game server revision by Morphe: 40250\n");
  11.         //fprintf(fp, "%s@%s:%s\n", __USER__, __HOSTNAME__, __PWD__);
  12.         fclose(fp);
  13.     }
  14. #endif
  15. }
Advertisement
Add Comment
Please, Sign In to add comment