欢迎来到天天文库
浏览记录
ID:26801043
大小:287.50 KB
页数:63页
时间:2018-11-29
《计算机软件著作权登记_源代码范本》由会员上传分享,免费在线阅读,更多相关内容在应用文档-天天文库。
1、.WORD格式整理..计算机软件著作权登记-源代码范本注意事项:常见的源代码包含:C语言,VB,C++,JAVA,.NET等。提交的代码必须是源代码的开头载入程序,第30页必须断开,第60页是软件的程序结尾,代码中不得出现与申请表内容不符合的日期,著作权人,软件名字等,不能出现开源代码,不能出现任何版权纠纷。格式要求:一、源代码应提交前、后各连续30页,不足60页的,应当全部提交。二、源代码页眉应标注软件的名称和版本号,应当与申请表中名称完全一致,页眉右上应标注页码,源代码每页不少于50行。范例如下:#include#
2、include#include#include#include#include#include#include..专业知识分享...WORD格式整理..#include#include#include#include#include3、h>#include#include#include#include#include#include#defineNS_MAIN1#include#endif#ifdefDLZ#include#endifstatictybs_boolean_twant_stats=TYBS_FALSE;staticchar4、program_name[TYBS_DIR_NAMEMAX]="named";staticcharabsolute_conffile[TYBS_DIR_PATHMAX];staticcharsaved_command_line[512];staticcharversion[512];staticunsignedintmaxsocks=0;voidns_main_earlywarning(constchar*format,...){va_listargs;va_start(args,format);if(ns_g_lctx!=NULL){tybs_log_vw5、rite(ns_g_lctx,NS_LOGCATEGORY_GENERAL,NS_LOGMODULE_MAIN,TYBS_LOG_WARNING,format,args);}else{fprintf(stderr,"%s:",program_name);vfprintf(stderr,format,args);fprintf(stderr,"");fflush(stderr);}va_end(args);}Voidns_main_earlyfatal(constchar*format,...){va_listargs;va_start(args,form6、at);if(ns_g_lctx!=NULL){tybs_log_vwrite(ns_g_lctx,NS_LOGCATEGORY_GENERAL,NS_LOGMODULE_MAIN,TYBS_LOG_CRITICAL,format,args);tybs_log_write(ns_g_lctx,NS_LOGCATEGORY_GENERAL,NS_LOGMODULE_MAIN,TYBS_LOG_CRITICAL,"exiting(duetoearlyfatalerror)");}else{..专业知识分享...WORD格式整理..fprintf(stderr,"7、%s:",program_name);vfprintf(stderr,format,args);fprintf(stderr,"");fflush(stderr);}va_end(args);exit(1);}staticvoidassertion_failed(constchar*file,intline,tybs_assertiontype_ttype,constchar*cond){if(ns_g_lctx!=NULL){tybs_assertion_setcallback(NULL);tybs_log_write(ns_g_lctx,NS_LOG8、CATEGORY_GENERAL,NS_LOGMOD
3、h>#include#include#include#include#include#include#defineNS_MAIN1#include#endif#ifdefDLZ#include#endifstatictybs_boolean_twant_stats=TYBS_FALSE;staticchar
4、program_name[TYBS_DIR_NAMEMAX]="named";staticcharabsolute_conffile[TYBS_DIR_PATHMAX];staticcharsaved_command_line[512];staticcharversion[512];staticunsignedintmaxsocks=0;voidns_main_earlywarning(constchar*format,...){va_listargs;va_start(args,format);if(ns_g_lctx!=NULL){tybs_log_vw
5、rite(ns_g_lctx,NS_LOGCATEGORY_GENERAL,NS_LOGMODULE_MAIN,TYBS_LOG_WARNING,format,args);}else{fprintf(stderr,"%s:",program_name);vfprintf(stderr,format,args);fprintf(stderr,"");fflush(stderr);}va_end(args);}Voidns_main_earlyfatal(constchar*format,...){va_listargs;va_start(args,form
6、at);if(ns_g_lctx!=NULL){tybs_log_vwrite(ns_g_lctx,NS_LOGCATEGORY_GENERAL,NS_LOGMODULE_MAIN,TYBS_LOG_CRITICAL,format,args);tybs_log_write(ns_g_lctx,NS_LOGCATEGORY_GENERAL,NS_LOGMODULE_MAIN,TYBS_LOG_CRITICAL,"exiting(duetoearlyfatalerror)");}else{..专业知识分享...WORD格式整理..fprintf(stderr,"
7、%s:",program_name);vfprintf(stderr,format,args);fprintf(stderr,"");fflush(stderr);}va_end(args);exit(1);}staticvoidassertion_failed(constchar*file,intline,tybs_assertiontype_ttype,constchar*cond){if(ns_g_lctx!=NULL){tybs_assertion_setcallback(NULL);tybs_log_write(ns_g_lctx,NS_LOG
8、CATEGORY_GENERAL,NS_LOGMOD
此文档下载收益归作者所有