亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? mkentry.c

?? 1984-1993模糊 C 源代碼競賽.zip 非常的好,不過這是DOS格式,要用UE去打開.
?? C
?? 第 1 頁 / 共 3 頁
字號:
/* @(#)mkentry.c	1.25 4/5/93 15:58:08 *//* * Copyright (c) Landon Curt Noll & Larry Bassel, 1993. * All Rights Reserved.  Permission for personal, educational or non-profit  * use is granted provided this this copyright and notice are included in  * its entirety and remains unaltered.  All other uses must receive prior * permission in writing from both Landon Curt Noll and Larry Bassel. *//* * mkentry - make an International Obfuscated C Code Contest entry * * usage: *	mkentry -r remarks -b build -p prog.c -o ioccc.entry * *	-r remarks		file with remarks about the entry *	-b build		file containing how prog.c should be built *	-p prog.c		the obfuscated program source file *	-o ioccc.entry		ioccc entry output file * * compile by: *	cc mkentry.c -o mkentry *//* * Placed in the public domain by Landon Curt Noll, 1992. * * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. *//* * WARNING: * * This program attempts to implement the IOCCC rules.  Every attempt * has been made to make sure that this program produces an entry that * conforms to the contest rules.  In all cases, where this program * differs from the contest rules, the contest rules will be used.  Be * sure to check with the contest rules before submitting an entry. * * FOR MORE INFORMATION: * *   You may contact the judges by sending Email to the following address: * *	...!{apple,pyramid,sun,uunet}!hoptoad!judges	(not the address for *	judges@toad.com					 submitting entries) * *   Questions and comments about the contest are welcome. * *  The rules and the guidelines may (and often do) change from year to *  year.  You should be sure you have the current rules and guidelines *  prior to submitting entries.  To obtain them, send Email to the address *  above and use the subject 'send rules'. * *  One may obtain winners of previous contests (1984 to date), via ftp from: * *	host: ftp.uu.net	(192.48.96.9) *	user: anonymous *	pass: yourname@yourhost *	dir:  ~/pub/ioccc * *  As a last resort, previous winners may be obtained by sending Email *  to the above address.  Please use the subject 'send YEAR winners', *  where YEAR is a single 4 digit year, a year range, or 'all'. * * Because contest rules change from year to year, one should only use this * program for the year that it was intended.  Be sure that the RULE_YEAR * define below matches this current year. */#include <stdio.h>#include <ctype.h>#include <time.h>#include <sys/types.h>#include <sys/stat.h>/* logic */#ifndef TRUE# define TRUE 1#endif /* TRUE */#ifndef FALSE# define FALSE 0#endif /* FALSE */#define EOF_OK TRUE#define EOF_NOT_OK FALSE/* global limits */#define RULE_YEAR 1993		/* NOTE: should match the current year */#define START_DATE "1Mar92 0:00 UTC"	/* first confirmation received */#define MAX_COL 79		/* max column a line should hit */#define MAX_BUILD_SIZE 256	/* max how to build size */#define MAX_PROGRAM_SIZE 3217	/* max program source size */#define MAX_PROGRAM_SIZE2 1536	/* max program source size not counting				   whitespace and {}; not followed by				   whitespace or EOF */#define MAX_TITLE_LEN 12	/* max chars in the title */#define MAX_ENTRY_LEN 1		/* max length in the entry input line */#define MAX_ENTRY 8		/* max number of entries per person per year */#define MAX_FILE_LEN 1024	/* max filename length for a info file *//* where to send entries */#define ENTRY_ADDR1 "...!{apple,pyramid,sun,uunet}!hoptoad!obfuscate"#define ENTRY_ADDR2 "obfuscate@toad.com"/* uuencode process - assumes ASCII */#define UUENCODE(c) (encode_str[(int)(c)&0xff])#define UUENCODE_LEN 45		/* max uuencode chunk size */#define UUINFO_MODE 0444	/* mode of an info file's uuencode file */#define UUBUILD_MODE 0444	/* mode of the build file's uuencode file */#define UUBUILD_NAME "build"	/* name for the build file's uuencode file */#define UUPROG_MODE 0444	/* mode of the program's uuencode file */#define UUPROG_NAME "prog.c"	/* name for the program's uuencode file *//* encode_str[(char)val] is the uuencoded character of val */char encode_str[256+1] = "`!\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_ !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_ !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_ !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_";/* global declarations */char *program;			/* our name */long start_time;		/* the startup time *//* forward declarations */void parse_args();void usage();FILE *open_remark();FILE *open_build();FILE *open_program();FILE *open_output();void output_entry();void output_remark();void output_author();void output_info();void output_build();void output_program();void output_end();int get_line();void output_till_dot();int col_len();void check_io();void uuencode();main(argc, argv)    int argc;		/* arg count */    char **argv;	/* the args */{    FILE *remark=NULL;	/* open remarks stream */    FILE *build=NULL;	/* open build file stream */    FILE *prog=NULL;	/* open program stream */    FILE *output=NULL;	/* open output stream */    char *rname=NULL;	/* file with remarks about the entry */    char *bname=NULL;	/* file containing how prog.c should be built */    char *pname=NULL;	/* the obfuscated program source file */    char *oname=NULL;	/* ioccc entry output file */    struct tm *tm;	/* startup time structure */    /*     * check on the year     */    start_time = time((long *)0);    tm = gmtime(&start_time);    if (tm->tm_year != RULE_YEAR-1900) {	fprintf(stderr,	"%s: WARNING: this program applies to %d, which may differ from %d\n\n",	    argv[0], RULE_YEAR, 1900+tm->tm_year);    }    /*     * parse the command line args     */    parse_args(argc, argv, &rname, &bname, &pname, &oname);    /*     * open/check the input and output files     *     * We open and truncate the output file first, in case it is the same     * as one of the input files.     */    output = open_output(oname);    remark = open_remark(rname);    build = open_build(bname);    prog = open_program(pname);    if (output==NULL || remark==NULL || build==NULL || prog==NULL) {	exit(1);    }    /*     * output each section     */    output_entry(output, oname);    output_remark(output, oname, remark, rname);    output_author(output, oname);    output_info(output, oname);    output_build(output, oname, build, bname);    output_program(output, oname, prog, pname);    output_end(output, oname);    /*     * flush the output     */    if (fflush(output) == EOF) {	fprintf(stderr, "%s: flush error in %s: ", program, oname);	perror("");	exit(2);    }    /*     * final words     */    printf("\nYour entry can be found in %s.  You should check this file\n",	oname);    printf("correct any problems and verify that the uudecode utility will\n");    printf("correctly decode your build file and program.\n\n");    printf("This program has been provided as a guide for submitters.  In\n");    printf("cases where it conflicts with the rules, the rules shall apply.\n");    printf("It is your responsibility to ensure that your entry conforms to\n");    printf("the current rules.\n\n");    printf("Email your entries to:\n");    printf("\t%s\n", ENTRY_ADDR1);    printf("\t%s\n\n", ENTRY_ADDR2);    printf("Please use the following subject when you Email your entry:\n");    printf("\tioccc entry\n\n");    /* all done */    exit(0);}/* * parse_args - parse the command line args * * Given the command line args, this function parses them and sets the * required name flags.  This function will return only if the command * line syntax is correct. */voidparse_args(argc, argv, rname, bname, pname, oname)    int argc;		/* arg count */    char **argv;	/* the args */    char **rname;	/* file with remarks about the entry */    char **bname;	/* file containing how prog.c should be built */    char **pname;	/* the obfuscated program source file */    char **oname;	/* ioccc entry output file */{    char *optarg;	/* -flag option operand */    int flagname;	/* the name of the -flag */    int i;    /*     * Not everyone has getopt, so we must parse args by hand.     */    program = argv[0];    for (i=1; i < argc; ++i) {	/* determine the flagname */	if (argv[i][0] != '-') {	    usage(1);	    /*NOTREACHED*/	}	flagname = (int)argv[i][1];	/* determine the flag's operand */	if (flagname != '\0' && argv[i][2] != '\0') {	    optarg = &argv[i][2];	} else {	    if (i+1 >= argc) {		usage(2);		/*NOTREACHED*/	    } else {		optarg = argv[++i];	    }	}	/* save the flag's operand in the correct global variable */	switch (flagname) {	case 'r':	    *rname = optarg;	    break;	case 'b':	    *bname = optarg;	    break;	case 'p':	    *pname = optarg;	    break;	case 'o':	    *oname = optarg;	    break;	default:	    usage(3);	    /*NOTREACHED*/	}    }    /*     * verify that we have all of the required flags     */    if (*rname == NULL || *bname == NULL || *pname == NULL || *oname == NULL) {	usage(4);	/*NOTREACHED*/    }    return;}/* * usage - print a usage message and exit * * This function does not return. */voidusage(exitval)    int exitval;		/* exit with this value */{    fprintf(stderr,	"usage: %s -r remarks -b build -p prog.c -o ioccc.entry\n\n", program);    fprintf(stderr, "\t-r remarks\tfile with remarks about the entry\n");    fprintf(stderr, "\t-b build\tfile containing how prog.c should be built\n");    fprintf(stderr, "\t-p prog.c\tthe obfuscated program source file\n");    fprintf(stderr, "\t-o ioccc.entry\tioccc entry output file\n");    exit(exitval);}/* * open_remark - open/check the remark file * * The remark file should be indented by 4 spaces, and should not extend * beyond column MAX_COL.  These are not requirements, so we only warn. * * This function returns NULL on I/O or format error. */FILE *open_remark(filename)    char *filename;{    FILE *stream;		/* the opened file stream */    char buf[BUFSIZ+1];		/* input buffer */    int toolong=0;		/* number of lines that are too long */    int non_indent=0;		/* number of lines not indented by 4 spaces */    /*     * open the remark input file     */    stream = fopen(filename, "r");    if (stream == NULL) {	fprintf(stderr, "%s: cannot open remark file: %s: ",	    program, filename);	perror("");	return(NULL);    }    /*     * look at each line     */    while (fgets(buf, BUFSIZ, stream) != NULL) {	/* count lines that do not start with 4 spaces */	if (buf[0] != '\n' && strncmp(buf, "    ", 4) != 0) {	    ++non_indent;	}	/* count long lines */	if (col_len(buf) > MAX_COL) {	    /* found a line that is too long */	    ++toolong;	}    }    /* watch for I/O errors */    check_io(stream, filename, EOF_OK);    /* note long lines if needed */    if (toolong > 0) {	fprintf(stderr,	    "%s: WARNING: %d line(s) from %s extend beyond the 80th column\n",	    program, toolong, filename);	fprintf(stderr,	    "%s:          This is ok, but it would be nice to avoid\n\n",	    program);    }    /* note non-indented lines, if needed */    if (non_indent > 0) {	fprintf(stderr,	    "%s: WARNING: %d line(s) from %s are not indented by 4 spaces\n",	    program, non_indent, filename);	fprintf(stderr,	    "%s:          This is ok, but it would be nice to avoid\n\n",	    program);    }    /* return the open file */    rewind(stream);    return(stream);}/* * open_build - open/check the build file * * The how to build file must not be longer than MAX_BUILD_SIZE bytes. * * This function returns NULL on I/O or size error. */FILE *open_build(filename)    char *filename;{    FILE *stream;		/* the opened file stream */    struct stat statbuf;	/* the status of the open file */    /*     * open the how to build input file     */    stream = fopen(filename, "r");    if (stream == NULL) {	fprintf(stderr, "%s: cannot open how to build file: %s: ",	    program, filename);

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日韩精品高清不卡| 欧美三级韩国三级日本三斤| 成人美女视频在线观看| 欧美亚男人的天堂| 国产精品不卡在线观看| 久久99国产精品麻豆| 91黄色在线观看| 久久精品人人爽人人爽| 久久se精品一区精品二区| 欧美在线观看禁18| 亚洲色图19p| 成熟亚洲日本毛茸茸凸凹| wwwwww.欧美系列| 美女爽到高潮91| 欧美区视频在线观看| 亚洲综合激情另类小说区| www.欧美精品一二区| 国产精品污污网站在线观看| 国产九九视频一区二区三区| 日韩精品在线看片z| 天天射综合影视| 欧美日韩激情在线| 亚洲国产精品自拍| 欧美在线色视频| 一区二区三区久久| 91久久精品一区二区三| 亚洲九九爱视频| 欧美中文字幕一二三区视频| 一区二区三区中文字幕精品精品| 99久久久久久| 亚洲激情第一区| 在线观看一区不卡| 一区二区三区蜜桃网| 欧美色图免费看| 亚洲国产精品自拍| 欧美精品在线一区二区三区| 亚洲电影中文字幕在线观看| 精品视频全国免费看| 日韩av一区二区三区四区| 欧洲精品视频在线观看| 亚洲一卡二卡三卡四卡五卡| 欧美三级韩国三级日本一级| 日韩中文字幕91| 日韩欧美一二区| 国产美女一区二区三区| 国产精品沙发午睡系列990531| 99久久99久久精品国产片果冻| 亚洲激情男女视频| 91精品国产麻豆国产自产在线 | 亚洲自拍偷拍综合| 在线播放国产精品二区一二区四区| 日韩影院精彩在线| 久久亚洲欧美国产精品乐播| 国产成人精品一区二区三区网站观看| 国产日产欧美一区二区视频| 9i在线看片成人免费| 亚洲一卡二卡三卡四卡五卡| 欧美sm极限捆绑bd| 成人免费三级在线| 天天影视网天天综合色在线播放| 日韩免费福利电影在线观看| 成人教育av在线| 午夜伦欧美伦电影理论片| 欧美精品一区二区三区蜜桃| 成人99免费视频| 午夜精品久久久久久久蜜桃app| 久久日一线二线三线suv| 99re6这里只有精品视频在线观看| 亚洲成人动漫一区| 久久久99精品免费观看不卡| 91麻豆文化传媒在线观看| 毛片一区二区三区| 一区二区欧美在线观看| 日韩丝袜美女视频| 99精品欧美一区二区蜜桃免费| 日产精品久久久久久久性色| 中文文精品字幕一区二区| 欧美精品tushy高清| 国产a精品视频| 美国十次综合导航| 亚洲午夜av在线| 国产欧美精品一区二区色综合朱莉| 在线精品国精品国产尤物884a| 狠狠狠色丁香婷婷综合久久五月| 依依成人精品视频| 国产日韩成人精品| 日韩欧美亚洲国产另类| 日本高清不卡视频| av中文字幕在线不卡| 久久精品免费观看| 午夜亚洲国产au精品一区二区| 中文在线一区二区| 久久青草欧美一区二区三区| 日韩一区二区在线观看视频| 91丝袜美女网| av男人天堂一区| 国产一区二区h| 免费xxxx性欧美18vr| 亚洲一区二区欧美日韩| 中文字幕一区二区三| 久久综合久久99| 欧美成人性战久久| 51久久夜色精品国产麻豆| 欧美三级韩国三级日本一级| 91麻豆国产精品久久| aa级大片欧美| 粉嫩欧美一区二区三区高清影视 | 欧美乱妇15p| 色拍拍在线精品视频8848| 成人高清免费观看| 国产精品888| 麻豆精品视频在线观看免费| 日韩1区2区3区| 男男视频亚洲欧美| 免费在线观看视频一区| 蜜臀久久99精品久久久久久9| 日韩激情在线观看| 蜜臀久久99精品久久久久久9| 视频在线观看一区二区三区| 天天av天天翘天天综合网 | 欧美日韩在线播放三区| 色欧美日韩亚洲| 欧美日韩国产高清一区| 欧美日韩免费观看一区三区| 欧美日韩国产天堂| 日韩一区二区视频在线观看| 精品国产1区2区3区| 国产蜜臀97一区二区三区| 国产精品三级av| 玉米视频成人免费看| 丝袜亚洲精品中文字幕一区| 日产欧产美韩系列久久99| 蜜臀av一级做a爰片久久| 国产经典欧美精品| 97aⅴ精品视频一二三区| 欧美在线视频日韩| 日韩欧美在线1卡| 国产欧美一区二区三区网站| 国产精品久久毛片a| 一区二区日韩av| 免费成人深夜小野草| 成人一区二区三区视频在线观看| a美女胸又www黄视频久久| 欧美日韩精品系列| 国产午夜一区二区三区| 一区二区三区成人在线视频| 日本一不卡视频| 福利视频网站一区二区三区| 欧美专区在线观看一区| 久久久午夜精品理论片中文字幕| 国产精品久久久久三级| 一级做a爱片久久| 国产一区二区三区电影在线观看| 粉嫩久久99精品久久久久久夜| 欧美午夜理伦三级在线观看| 欧美sm美女调教| 亚洲精品成人悠悠色影视| 日韩不卡手机在线v区| 成人做爰69片免费看网站| 欧美一级午夜免费电影| 亚洲天堂网中文字| 国内精品写真在线观看| 在线亚洲人成电影网站色www| 欧美成人aa大片| 一区二区三区中文字幕| 国产成人av电影在线| 日韩欧美亚洲国产精品字幕久久久| 亚洲日本在线a| 国产成人小视频| 日韩欧美久久久| 亚洲成人你懂的| 91小宝寻花一区二区三区| 久久人人97超碰com| 奇米四色…亚洲| 欧美日韩成人在线一区| 中文字幕亚洲成人| 国产高清精品在线| 日韩精品一区二区三区老鸭窝 | 欧美精品在线一区二区| 亚洲免费看黄网站| 成人夜色视频网站在线观看| 精品国产sm最大网站免费看| 丝袜诱惑制服诱惑色一区在线观看| 99精品热视频| 国产精品欧美久久久久一区二区| 麻豆免费看一区二区三区| 在线成人免费视频| 亚洲成av人片观看| 欧美综合天天夜夜久久| 亚洲精品久久久蜜桃| 91丨porny丨最新| 国产精品大尺度| av一区二区三区四区| 欧美极品aⅴ影院| 国产精品一二三四| 久久免费国产精品 | 奇米一区二区三区av| 这里只有精品视频在线观看| 婷婷综合在线观看| 欧美日本韩国一区二区三区视频 |