软件著作权-源代码范本
注意事项:常见得源代码包含:C语言,VB,C++,JAVA,。NET等。
提交得代码必须就是源代码得开头载入程序,第30页必须断开,第60页就是软件得程序结尾,代码中不得出现与申请表内容不符合得日期,著作权人,软件名字等,不能出现开源代码,不能出现任何版权纠纷。
格式要求:一、源代码应提交前、后各连续30页,不足60页得,应当全部提交。
二、源代码页眉应标注软件得名称与版本号,应当与申请表中名称完全一致,页眉右上应标注页码,源代码每页不少于50行。
范例如下:
#include <tybs/mandline。h>
#include <tybs/dir、h>
#include <tybs/entropy、h>
#include 〈tybs/file。h>
#include <tybs/hash、h〉
#include <tybs/os、h>
#include <tybs/platform、h>
#include <tybs/resource、h>
#include <tybs/stdio。h>
#include <tybs/string、h〉
#include 〈tybs/task、h>
#include <tybs/timer。h>
#include <tybs/util、h>
#include <tybscc/result、h>
#include 〈dns/dispatch、h>
#include 〈dns/name、h>
#include 〈dns/result、h>
#include <dns/view、h>
#include 〈dst/result。h>
#define NS_MAIN 1
#include 〈named/ns_smf_globals。h>
#endif
#ifdef DLZ
#include <dlz/dlz_drivers、h>
#endif
static tybs_boolean_tﻩwant_stats = TYBS_FALSE;
static charﻩ program_name[TYBS_DIR_NAMEMAX] = ”named";
static charﻩﻩabsolute_conf];
static char ﻩsaved_mand_line[512];
static charﻩﻩversion[512];
static unsigned intﻩmaxsocks = 0;
void
ns_main_earlywarning(const char *format, 、、。) {
ﻩva_list args;
va_start(args, format);
ﻩif (ns_g_lctx != NULL) {
tybs_log_vwrite(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, ”\n");
fflush(stderr);
}
va_end(args);
}
Void ns_main_earlyfatal(const char *format, 、。、) {
ﻩva_list args;
ﻩva_start(args, format);
ﻩ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 (due to early fatal error)");
ﻩ} else {
ﻩﻩfprintf(stderr, "%s: ", program_name);
vfprintf(stderr, fo
软件著作权-源代码范本 来自淘豆网m.daumloan.com转载请标明出处.