//初始化 if(initscr() == NULL) { perror("initcurs") exit(EXIT_FAILURE) } //設(shè)置模式 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)
標(biāo)簽: 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) }
標(biāo)簽: gdk_pixbuf_animation_get_height gdk_pixbuf_animation_get_width ani height
上傳時間: 2013-12-26
上傳用戶:thinode
倉庫下線條碼源碼,可以接收紅外掃描條碼,報(bào)表輸出
標(biāo)簽:
上傳時間: 2014-12-05
上傳用戶:qq521
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.
標(biāo)簽: iterations performs Bailey number
上傳時間: 2014-01-05
上傳用戶:libenshu01
computer networking 計(jì)算機(jī)網(wǎng)路概論課本習(xí)題解答
標(biāo)簽: networking computer
上傳時間: 2014-05-27
上傳用戶:電子世界
dsp hư ớ ng dẫ n giao tiế p LCD code viế t bằ ng C
上傳時間: 2017-06-17
上傳用戶:xuanjie
無聊的東西無聊的東西無聊的東西無聊的東西無聊的東西v無聊的東西無聊的東西無聊的東西無聊的東西無聊的東西
標(biāo)簽:
上傳時間: 2014-01-15
上傳用戶:CHINA526
hư ớ ng dẫ n về dsp tham khả o các cô ng cụ cơ bả n
上傳時間: 2014-12-01
上傳用戶:zhichenglu
dsp từ cơ bả n đ ế n nâ ng cao 1
上傳時間: 2014-12-05
上傳用戶:watch100
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.
標(biāo)簽: Microsoft applications environment programming
上傳時間: 2017-06-18
上傳用戶:huyiming139
蟲蟲下載站版權(quán)所有 京ICP備2021023401號-1