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

蟲蟲首頁| 資源下載| 資源專輯| 精品軟件
登錄| 注冊

遠(yuǎn)程監(jiān)測系統(tǒng)

  • //建立頂級窗口 toplevel = XtVaAppInitialize[&app, "Form", NULL, 0, &argc, argv, NULL, NULL] n =

    //建立頂級窗口 toplevel = XtVaAppInitialize[&app, "Form", NULL, 0, &argc, argv, NULL, NULL] n = 0 XtSetArg[args[n], XmNwidth, 500] n++ XtSetArg[args[n], XmNheight, 500] n++ XtSetValues[toplevel, args, n] //建立主窗口 form = XmCreateForm[toplevel, "form", NULL, 0] XtManageChild[form] //建立菜單條 n = 0 XtSetArg[args[n], XmNtopAttachment, XmATTACH_FORM] n++ XtSetArg[args[n], XmNleftAttachment, XmATTACH_FORM] n++ XtSetArg[args[n], XmNrightAttachment, XmATTACH_FORM] n++ menubar = XmCreateMenuBar[form, "menubar", args, n] XtManageChild[menubar] create_menu[menubar]

    標簽: NULL XtVaAppInitialize toplevel Form

    上傳時間: 2013-12-19

    上傳用戶:亞亞娟娟123

  • OTSU Gray-level image segmentation using Otsu s method. Iseg = OTSU(I,n) computes a segmented i

    OTSU Gray-level image segmentation using Otsu s method. Iseg = OTSU(I,n) computes a segmented image (Iseg) containing n classes by means of Otsu s n-thresholding method (Otsu N, A Threshold Selection Method from Gray-Level Histograms, IEEE Trans. Syst. Man Cybern. 9:62-66 1979). Thresholds are computed to maximize a separability criterion of the resultant classes in gray levels. OTSU(I) is equivalent to OTSU(I,2). By default, n=2 and the corresponding Iseg is therefore a binary image. The pixel values for Iseg are [0 1] if n=2, [0 0.5 1] if n=3, [0 0.333 0.666 1] if n=4, ... [Iseg,sep] = OTSU(I,n) returns the value (sep) of the separability criterion within the range [0 1]. Zero is obtained only with images having less than n gray level, whereas one (optimal value) is obtained only with n-valued images.

    標簽: OTSU segmentation Gray-level segmented

    上傳時間: 2017-04-24

    上傳用戶:yuzsu

  • int show_char(int n, const char *name, chtype code) { const int height = 16 int row = 4 + (

    int show_char(int n, const char *name, chtype code) { const int height = 16 int row = 4 + (n height) int col = (n / height) * COLS / 2 mvprintw(row, col, " *s : ", COLS/4, name) addch(code) return n + 1 }

    標簽: int const show_char chtype

    上傳時間: 2017-06-12

    上傳用戶:3到15

  • 跨數據庫平臺: n 支持 oracle 的OCI n 支持DB2的CLI, n 支持ODBC(通過ODBC,可支持SQL SERVE

    跨數據庫平臺: n 支持 oracle 的OCI n 支持DB2的CLI, n 支持ODBC(通過ODBC,可支持SQL SERVER,MySQL等) Ø 跨OS平臺: n 標準C++語言,支持 unix/linux/windows Ø 使用簡單: n 只有一個頭文件 n 接口簡潔.otl_stream, otl_connect, otl_exception等就可以完成大部分工作 n 相對 ProC等嵌入式開發,代碼能相應減少 Ø 性能: n 直接訪問數據庫API接口,具有API接口的高效率,可靠性 Ø 穩定性: n 開源代碼,唯一的代碼文件otlv4.h,可以了解所有基于數據庫API的實現細節 n 從1996年開始,到今已10余年. Ø 可讀性及可維護性: n 標準C++代碼,不需要任何預處理 n 使用流的形式,輸入輸出異常簡潔 n 減少大量代碼, n 代碼結構更加簡潔 參考資料: http://otl.sourceforge.net/

    標簽: ODBC oracle SERVE OCI

    上傳時間: 2017-06-14

    上傳用戶:cainaifa

  • 給定N個整數

    給定N個整數,找出它們中的最大值。在輸入時可以連續輸幾組數,每組數中,第一行包括一個整數N(1〈=N〈=10000),第二行包括N個整數,每個的絕對值小于10^9,當一組數中,第一行為0時就退出程序。在輸出時,每組數就有一行中顯示它的最大值

    標簽: 整數

    上傳時間: 2013-12-02

    上傳用戶:410805624

  • 【問題描述】 在一個N*N的點陣中

    【問題描述】 在一個N*N的點陣中,如N=4,你現在站在(1,1),出口在(4,4)。你可以通過上、下、左、右四種移動方法,在迷宮內行走,但是同一個位置不可以訪問兩次,亦不可以越界。表格最上面的一行加黑數字A[1..4]分別表示迷宮第I列中需要訪問并僅可以訪問的格子數。右邊一行加下劃線數字B[1..4]則表示迷宮第I行需要訪問并僅可以訪問的格子數。如圖中帶括號紅色數字就是一條符合條件的路線。 給定N,A[1..N] B[1..N]。輸出一條符合條件的路線,若無解,輸出NO ANSWER。(使用U,D,L,R分別表示上、下、左、右。) 2 2 1 2 (4,4) 1 (2,3) (3,3) (4,3) 3 (1,2) (2,2) 2 (1,1) 1 【輸入格式】 第一行是數m (n < 6 )。第二行有n個數,表示a[1]..a[n]。第三行有n個數,表示b[1]..b[n]。 【輸出格式】 僅有一行。若有解則輸出一條可行路線,否則輸出“NO ANSWER”。

    標簽: 點陣

    上傳時間: 2014-06-21

    上傳用戶:llandlu

  • learningMatlab PhÇ n 1 c¬ së Mat lab Ch­ ¬ ng 1:

    learningMatlab PhÇ n 1 c¬ së Mat lab Ch­ ¬ ng 1: Cµ i ® Æ t matlab 1.1.Cµ i ® Æ t ch­ ¬ ng tr×nh: Qui tr×nh cµ i ® Æ t Matlab còng t­ ¬ ng tù nh­ viÖ c cµ i ® Æ t c¸ c ch­ ¬ ng tr×nh phÇ n mÒ m kh¸ c, chØ cÇ n theo c¸ c h­ íng dÉ n vµ bæ xung thª m c¸ c th« ng sè cho phï hî p. 1.1.1 Khë i ® éng windows. 1.1.2 Do ch­ ¬ ng tr×nh ® ­ î c cÊ u h×nh theo Autorun nª n khi g¾ n dÜ a CD vµ o æ ® Ü a th× ch­ ¬ ng tr×nh tù ho¹ t ® éng, cö a sæ

    標簽: learningMatlab 172 199 173

    上傳時間: 2013-12-20

    上傳用戶:lanwei

  • metricmatlab ch­ ¬ ng 4 Ma trË n - c¸ c phÐ p to¸ n vÒ ma trË n

    metricmatlab ch­ ¬ ng 4 Ma trË n - c¸ c phÐ p to¸ n vÒ ma trË n. 4.1 Kh¸ i niÖ m: - Trong MATLAB d÷ liÖ u ® Ó ® ­ a vµ o xö lý d­ íi d¹ ng ma trË n. - Ma trË n A cã n hµ ng, m cét ® ­ î c gä i lµ ma trË n cì n  m. §­ î c ký hiÖ u An  m - PhÇ n tö aij cñ a ma trË n An  m lµ phÇ n tö n» m ë hµ ng thø i, cét j . - Ma trË n ® ¬ n ( sè ® ¬ n lÎ ) lµ ma trË n 1 hµ ng 1 cét. - Ma trË n hµ ng ( 1  m ) sè liÖ u ® ­ î c bè trÝ trª n mét hµ ng. a11 a12 a13 ... a1m - Ma trË n cét ( n  1) sè liÖ u ® ­ î c bè trÝ trª n 1 cét.

    標簽: metricmatlab 203 184 tr

    上傳時間: 2017-07-29

    上傳用戶:來茴

  • 歐拉定理   對于互質的整數a和n

    歐拉定理   對于互質的整數a和n,有aφ(n) ≡ 1 mod n

    標簽: 定理 整數

    上傳時間: 2014-01-02

    上傳用戶:330402686

  • 利用棧的基本操作實現將任意一個十進制整數N轉化為R進制整數。

    #include <stdlib.h> #include<stdio.h> #include <malloc.h> #define stack_init_size 100 #define stackincrement 10 typedef struct sqstack { int *base; int *top; int stacksize; } sqstack; int StackInit(sqstack *s) { s->base=(int *)malloc(stack_init_size *sizeof(int)); if(!s->base) return 0; s->top=s->base; s->stacksize=stack_init_size; return 1; } int Push(sqstack *s,int e) { if(s->top-s->base>=s->stacksize) { s->base=(int *)realloc(s->base,(s->stacksize+stackincrement)*sizeof(int)); if(!s->base) return 0; s->top=s->base+s->stacksize; s->stacksize+=stackincrement; } *(s->top++)=e; return e; } int Pop(sqstack *s,int e) { if(s->top==s->base) return 0; e=*--s->top; return e; } int stackempty(sqstack *s) { if(s->top==s->base) { return 1; } else { return 0; } } int conversion(sqstack *s) { int n,e=0,flag=0; printf("輸入要轉化的十進制數:\n"); scanf("%d",&n); printf("要轉化為多少進制:\n"); scanf("%d",&flag); printf("將十進制數%d 轉化為%d 進制是:\n",n,flag); while(n) { Push(s,n%flag); n=n/flag; } while(!stackempty(s)) { e=Pop(s,e); switch(e) { case 10: printf("A"); break; case 11: printf("B"); break; case 12: printf("C"); break; case 13: printf("D"); break; case 14: printf("E"); break; case 15: printf("F"); break; default: printf("%d",e); } } printf("\n"); return 0; } int main() { sqstack s; StackInit(&s); conversion(&s); return 0;                        }

    標簽: 整數 基本操作 十進制 轉化 進制

    上傳時間: 2016-12-08

    上傳用戶:愛你198

主站蜘蛛池模板: 白城市| 平遥县| 龙岩市| 东乡县| 句容市| 阿合奇县| 布拖县| 丘北县| 慈溪市| 嘉义市| 丽水市| 灵武市| 原平市| 晋城| 右玉县| 项城市| 汪清县| 西乡县| 河源市| 塔河县| 湘阴县| 札达县| 五指山市| 长治县| 海晏县| 花莲县| 达州市| 嘉义市| 招远市| 潞城市| 伊吾县| 都兰县| 米脂县| 陵水| 普定县| 双辽市| 宽城| 通榆县| 佛学| 锦州市| 龙江县|