登录
首页 » Linux-Unix program » //初始化 if(initscr() == NULL) { perror("initcurs") exit(EXIT_FAILUR...

//初始化 if(initscr() == NULL) { perror("initcurs") exit(EXIT_FAILUR...

于 2023-08-24 发布 文件大小:680.00 B
0 106
下载积分: 2 下载次数: 1

代码说明:

//初始化 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. ") mvaddstr(17, 1, "Press q to quit. ") refresh() wrefresh(win) - //初始化 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. ") mvaddstr(17, 1, "Press q to quit. ") refresh() wrefresh(win)

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • Linux 0.11源代码(有详细的中文注释),学习Linux早期内核很好的教程...
    Linux 0.11源代码(有详细的中文注释),学习Linux早期内核很好的教程-Linux 0.11 source code (with detailed notes in Chinese), to study the early Linux kernel very good tutorial
    2022-03-24 05:08:26下载
    积分:1
  • 在博创的44B0开发板上做的一个电机控制程序后,TE…
    在博创的44B0开发板上做的一个电机控制的程序,经过了测试,运行良好。可用作最最新的新手学习哈。-in Bo Chong 44B0 development board to do a motor control procedures after the test, the operation is good. Most can be used to study the latest newcomers Kazakhstan.
    2022-03-28 16:37:03下载
    积分:1
  • Credit
    图形学分形演示程序,注意是在UNIX/Linux下的,需要X11环境 -Credit-shaped graphics demo program, attention in the UNIX/Linux under the need for X11 environment
    2022-01-31 09:32:21下载
    积分:1
  • condor并行编程
    condor并行编程-Condor Parallel Programming
    2022-07-05 11:47:05下载
    积分:1
  • Red Hat Linux 5.1安装指南
    Red Hat Linux 5.1安装指南 -Red Hat Linux 5.1 Installation Guide
    2023-03-05 16:55:03下载
    积分:1
  • linux环境下arm2410的 dma驱动程序
    在linux环境下arm2410的 dma驱动程序 -In linux environment arm2410 the dma driver
    2023-08-23 08:10:03下载
    积分:1
  • Multi
    Multi-module programs and MAKE-compile and link multiple c code source files together into a single executable file named "calcit". To simplify the entry of commands to build the executable file you will use UNIX command “make” with a file named “makefile”.
    2022-01-21 23:37:15下载
    积分:1
  • linux driver
    linux下的驱动开发,引你进入未知世界-linux driver
    2022-06-02 05:36:11下载
    积分:1
  • 开发Linux操作系统下的shell程序,编写了自己的she
    开发Linux操作系统下的shell程序,编写了自己的she-Development under the Linux operating system shell procedures, the preparation of its own shell
    2023-01-21 06:45:04下载
    积分:1
  • chikago_src.zip
    Chikago_src.zip
    2022-09-15 23:10:03下载
    积分:1
  • 696518资源总数
  • 105540会员总数
  • 37今日下载