Sportica   Sportica
上一页 1 ··· 22 23 24 25 26
摘要: <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"... 阅读全文
posted @ 2011-12-05 12:45 qingjoin 阅读(53480) 评论(1) 推荐(2) 编辑
摘要: #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]; ... 阅读全文
posted @ 2011-12-02 18:27 qingjoin 阅读(350) 评论(0) 推荐(0) 编辑
摘要: #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,... 阅读全文
posted @ 2011-12-02 16:13 qingjoin 阅读(331) 评论(0) 推荐(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... 阅读全文
posted @ 2011-12-02 12:54 qingjoin 阅读(397) 评论(1) 推荐(1) 编辑
摘要: 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... 阅读全文
posted @ 2011-12-02 11:57 qingjoin 阅读(481) 评论(0) 推荐(0) 编辑
摘要: 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... 阅读全文
posted @ 2011-12-02 11:18 qingjoin 阅读(617) 评论(0) 推荐(0) 编辑
上一页 1 ··· 22 23 24 25 26
  Sportica