//初始化 if(initscr() == NULL) { perror("initcurs") exit(EXIT_FAILURE) } //設置模式 cbreak() noecho() keypad(stdscr, TRUE) //建立窗口 win = newwin(h, w, 3, 20) box(win, 0, 0) keypad(win, TRUE) wmove(win, cury, curx) mvaddstr(16, 1, "Press arrow keys to move the cursor within the window.\n") mvaddstr(17, 1, "Press q to quit.\n") refresh() wrefresh(win)
標簽: EXIT_FAILURE initcurs initscr perror
上傳時間: 2013-12-20
上傳用戶:FreeSky
width = gdk_pixbuf_animation_get_width(ani) height = gdk_pixbuf_animation_get_height(ani) current_frame_list = gdk_pixbuf_animation_get_frames(ani) pixmap = gdk_pixmap_new(w->window, width, height, -1) clean_pixmap = gdk_pixmap_new(w->window, width, height, -1) if (w->style->bg_pixmap[GTK_STATE_NORMAL]) { GdkPixmap *bg = w->style->bg_pixmap[GTK_STATE_NORMAL] GdkGC *gc GdkGCValues values values.tile = bg values.fill = GDK_TILED gc = gdk_gc_new_with_values(w->window, &values, GDK_GC_FILL|GDK_GC_TILE) gdk_gc_set_ts_origin(gc, (w->allocation.width - width)/2, (w->allocation.height-height)/2) gdk_draw_rectangle(clean_pixmap,gc, TRUE, 0, 0, width, height) gdk_gc_destroy(gc) } else { gdk_draw_rectangle(clean_pixmap, w->style->bg_gc[GTK_STATE_NORMAL], TRUE, 0, 0, width, height) }
標簽: gdk_pixbuf_animation_get_height gdk_pixbuf_animation_get_width ani height
上傳時間: 2013-12-26
上傳用戶:thinode
The code performs a number (ITERS) of iterations of the Bailey s 6-step FFT algorithm (following the ideas in the CMU Task parallel suite). 1.- Generates an input signal vector (dgen) with size n=n1xn2 stored in row major order In this code the size of the input signal is NN=NxN (n=NN, n1=n2=N) 2.- Transpose (tpose) A to have it stored in column major order 3.- Perform independent FFTs on the rows (cffts) 4.- Scale each element of the resulting array by a factor of w[n]**(p*q) 5.- Transpose (tpose) to prepair it for the next step 6.- Perform independent FFTs on the rows (cffts) 7.- Transpose the resulting matrix The code requires nested Parallelism.
標簽: iterations performs Bailey number
上傳時間: 2014-01-05
上傳用戶:libenshu01
Microsoft Visual C++ is a programming environment used to create applications for the Microsoft Windows operating systems . To use this ebook , you must have installed either Microsoft Visual C++ 6.0 or Microsoft Visual Studio 6.0.
標簽: Microsoft applications environment programming
上傳時間: 2017-06-18
上傳用戶:huyiming139
This is the project README file. Here, you should describe your project. Tell the reader (someone who does not know anything about this project) all he/she needs to know. The comments should usually include at least:
標簽: project the describe someone
上傳時間: 2017-06-22
上傳用戶:450976175
這是我自己寫的一個Gtk+2.18與directfb1.2自動安裝腳本,由于源碼包太大,下載者自己去下載吧,按腳本的版本找到,解壓放到指定位置,運行./install.sh即可自動完成,或者你可以修改腳本。
上傳時間: 2017-06-27
上傳用戶:壞天使kk
NN Functions a program in Lisp to demonstrate working of an artificial neuron. (Enter an input vector X and weight vector W. Calculate weighted sum XW. Transform this using signal or activation functions like logistic, threshold, hyperbolic-tangent, linear, exponential, sigmoid or some other functions (syntax provided) and display the output).
標簽: demonstrate artificial Functions program
上傳時間: 2013-12-30
上傳用戶:hfmm633
C28x IQmath v1.5版下載,目前在Ti網站最新。 版本日期 2008/07/08
上傳時間: 2017-07-04
上傳用戶:壞壞的華仔
本程序實現算術平均值濾波(采樣值為8位,連續采樣數目小于256) 入口參數:采樣值數據塊首地址在SADR中,連續采樣數在W中 出口參數:濾波值在SOU中.
上傳時間: 2013-12-17
上傳用戶:lx9076
在進行車牌識別的預處理過程中,如何有效地提高車牌圖像質量是一個關鍵,這一步處理的好壞將直接影響到后面車牌識別的效果。 本文重點研究直方圖修改技術增強圖像方法在車牌識別預處理中的應用,給出了直方圖修改技術的原理,以及直方圖均衡化、規定化和對比度調整的原理,最后用MATLAB來實現車牌圖像增強的效果。
上傳時間: 2017-07-06
上傳用戶:lili123