摘要:
<fieldset> <legend>区域 1</legend> <p class="sidebtn"></p> <div id="isOpened" style="display:none"> <table> <tr> <td align="center"><span>叠加字符:</span></td> <td colspan="3"... 阅读全文
摘要:
#include <stdio.h> //冒泡#define N 10int main(){ int i,j,temp; int a[N]; for(i=0;i<N;i++) { scanf("%d",&a[i]); } for(i=0;i<N-i;i++) { for(j=0;j<N-1-i;j++) { if(a[j]>a[j+1]) { temp=a[j]; a[j]=a[j+1]; ... 阅读全文
摘要:
#define OSD_FILEF "/home/OsdSave.txt"typedef struct textOSD_s { int font_size; int outline; int bold; int italic; int color; }textOSD_t;void saveRead(){ memset(&osd_t,0,... 阅读全文
摘要:
function checkIP() //检查IP{var exp=/^(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])$/; obj=document.getElementById("NTPaddress").value; var reg1 = obj.match(exp); if(reg1==nu... 阅读全文
摘要:
function settimes() { var time = new Date(); hours = time.getHours(); mins = time.getMinutes(); secs = time.getSeconds(); years = time.getFullYear(); mons = (time.getMonth() + 1); days = time.getDate(); mons = (mons < 10 ? '0' : '') + mons; da... 阅读全文
摘要:
char OsdEndBuf[100][255];char DisplayOsdBuf[100][255];char Txt[50]="Txt", s1_text[50]="s1_text";int Line=-1;int coyOsdbuf() //把文本中的内容复制到数组里{ int i=-1; char *osdfp; char OsdBuf[255]; memset(OsdEndBuf,0,sizeof(OsdEndBuf)); if((osdfp=fo... 阅读全文