ver.c

来自「htp是一个HTML预处理器。页面可以用htp扩展的类HTML的宏编写。这可以简」· C语言 代码 · 共 55 行

C
55
字号
/*//// ver.c//// version and program information//// Copyright (c) 1995-96 Jim Nelson.  Permission to distribute// granted by the author.  No warranties are made on the fitness of this// source code.//*/#include "htp.h"/*// program stage (alpha, beta, etc.)*/#if DEBUGconst char *VER_STAGE = "DEBUG RELEASE";#elseconst char *VER_STAGE = "RELEASE";#endif/*// program name*/const char *PROGRAM_NAME = "htp";/*// program usage & syntax*/void DisplayHeader(void){    printf("\n%s %d.%02d (%s) - HTML pre-processor (%s)\n", PROGRAM_NAME, VER_MAJOR,        VER_MINOR, __DATE__, VER_STAGE);    printf("Copyright (c) 1995-96 Jim Nelson - PUBLIC DOMAIN SOFTWARE\n");    printf("[%s]\n\n", PROGRAM_OS);}   void usage(void){    printf("Original author, Jim Nelson.   Current maintainer Robert King\n");    printf("email:\trobert.king@newcastle.edu.au\n");    printf("WWW:\thttp://maths.newcastle.edu.au/~rking/htp/\n\n");    printf("usage: %s [options] <source HTML file> <reformatted HTML file>\n",        PROGRAM_NAME);    printf("       %s [options] @<response file>\n", PROGRAM_NAME);    printf("       %s [options] @\n", PROGRAM_NAME);    printf("\nSee accompanying readme.txt and on-line reference for full details.\n");    printf("\nThis is public domain software.  No person or group is entitled to\n");    printf("charge for the license or use of htp.\n");}   

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?