登录
首页 » 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 167
下载积分: 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 个回复

  • 白皮书,Qt参考使用
    Qt 3.1白皮书,使用Qt开发的参考资料-White Paper, the use of Qt reference
    2022-01-28 06:29:33下载
    积分:1
  • 台湾上尚公司linux嵌入式服务器平台液晶屏操作源码
    台湾上尚公司linux嵌入式服务器平台液晶屏操作源码-Taiwan still on the company Embedded Linux server platform LCD operation FOSS
    2022-05-13 02:23:32下载
    积分:1
  • 系统实现类似于多文档的赢得
    linux系统下实现类似win的对多个文件的文件内容检索的功能-linux system realizes similar win to many documents document content retrieval function
    2022-02-15 21:59:40下载
    积分:1
  • linux系统下一个简单的聊天程序,主要用socket和select实现的
    linux系统下一个简单的聊天程序,主要用socket和select实现的-linux system a simple chat program, the main achievement of the socket and select
    2022-08-05 12:43:08下载
    积分:1
  • Linux
    LINUX驱动编程,蛮好的,慢慢学习吧;不错的资料啊-LINUX-driven programming, fine, and slowly learning it good information ah
    2022-03-18 01:19:03下载
    积分:1
  • Linux环境下一个2410键盘驱动加应用程序,希望对大家有帮助
    Linux环境下一个2410键盘驱动加应用程序,希望对大家有帮助-Linux environment plus a 2410 keyboard-driven applications, in the hope that everyone has to help
    2022-07-12 22:59:11下载
    积分:1
  • vivi源代码
    vivi source code
    2022-05-27 16:06:04下载
    积分:1
  • Username : liuxinrui Password : zhongyong you can run on Linux main.exe document...
    用户名:liuxinrui 密码:zhongyong 您可以在 linux 系统上运行 main.exe 文件 IP 应设为192.168.0.1 重新编译请在linux终端提示符后输入 g++ -lsybdb -lcurses -o 1.exe main.cpp clsMain.cpp clsConn.cpp clsTrade.cpp clsSupplier.cpp clsProduct.cpp 把数据库文件 DepartmentalStore.sql 拖放到 SQL SERVER 的查询分析器中并执行 把数据库文件 测试.sql 拖放到 SQL SERVER 的查询分析器中并执行 本软件提供详细的设计文档,供学习之用-Username : liuxinrui Password : zhongyong you can run on Linux main.exe document should be set to 192.168.0.1 IP recompile please linux terminal prompt input g-lsybdb- lcurses-o 1.exe main.cpp clsMain.cpp clsConn.cpp clsTrade.cpp clsSupplier.cpp clsProduct.cpp database DepartmentalStore.sql drag and drop documents to SQL SERVER inquiries analyzer and the execution of test database documents. sql drag and drop to SQL SERVER inquiries Analyzer and the implementation of the software to provide detailed design documents for study use
    2022-05-29 18:45:34下载
    积分:1
  • 一部分原始代码的注释
    linux内核原代码head.s部分的注释-head.s part of the original code to the Notes
    2022-02-10 03:38:19下载
    积分:1
  • linux环境下消息队列的实现
    linux环境下消息队列的实现-Message Queue Implementation
    2023-06-22 16:50:03下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载