-
//建立窗口
win1 = newwin(15, 50, 1 )
box(win1, ACS_VLINE, ACS_HLINE)
m...
//建立窗口
win1 = newwin(15, 50, 1 )
box(win1, ACS_VLINE, ACS_HLINE)
mvwprintw(win1, 2,1, "WINDOW 1")
mvwprintw(win1, 4,1, "Press any key switching to window 2")
win2 = newwin(15, 40, 4, 20)
box(win2, ACS_VLINE, ACS_HLINE)
mvwprintw(win2, 2,1, "WINDOW 2")
//建立子窗口
subwin = derwin(win2, 5, 25, 4, 5)
box(subwin, ACS_VLINE, ACS_HLINE)
mvwprintw(subwin, 2,1, "Sub Window of Window2")
//刷新屏幕
refresh()
wrefresh(win1)
wrefresh(win2)
touchwin(win1)
wrefresh(win1)
getch()
touchwin(win2)
mvwprintw(win2, 12,1, "Press any key to exit...")
wrefresh(win2)
//等待按键
getch()
//结束
delwin(win1)
delwin(subwin)
delwin(win2)
endwin() -//建立窗口
win1 = newwin(15, 50, 1, 1)
box(win1, ACS_VLINE, ACS_HLINE)
mvwprintw(win1, 2,1, "WINDOW 1")
mvwprintw(win1, 4,1, "Press any key switching to window 2")
win2 = newwin(15, 40, 4, 20)
box(win
- 2022-12-24 01:10:04下载
- 积分:1
-
这第一个版本免费的TCP/IP和PPP协议栈的操作系统为UC /房
This the first release of a free TCP/IP/PPP protocol stack for the uC/OS Real-Time Operating System. As a first release it s still rather rough and very much larger than desired however it is working well in an embedded product and therefore may be useful to others. Much of the code is ported from public sources including BDS Lite and KA9Q (and its derivatives) and carries copyright notices from those sources. Essentially TCP is based on KA9Q but with ideas from BSD, IP is a simple implementation supporting BSD structures, ICMP is ported from BSD, and PPP is ported from the BSD version of the distribution common to BSD, Linux, and many other systems
- 2022-05-16 22:00:19下载
- 积分:1
-
ucos在78e58上移植的例子,经过测试通过,希望大家交流呀,共享源码...
ucos在78e58上移植的例子,经过测试通过,希望大家交流呀,共享源码-CENTER 78e58 on the transplant example, the test passed, let us exchange it, sharing source code!
- 2022-03-01 16:39:06下载
- 积分:1
-
实现进程管理。进程的创建,挂起,阻塞,以及完成。
实现进程管理。进程的创建,挂起,阻塞,以及完成。-realization process management. Process creation, aloof, obstruction, and the completion.
- 2022-11-19 11:45:03下载
- 积分:1
-
输入和输出程序的例子
xml程序例子输入输出-xml examples of input and output procedures
- 2022-03-09 16:22:43下载
- 积分:1
-
Downloader是一款在Xterm下加快下载FTP.HTTP的服务器软件,类似WindownsFlashGet的快速下载软件。可以支持多用户连接以及重连接。...
Downloader是一款在Xterm下加快下载FTP.HTTP的服务器软件,类似WindownsFlashGet的快速下载软件。可以支持多用户连接以及重连接。
-Downloader is one of the Xterm FTP.HTTP faster downloading the server software, similar to the rapid WindownsFlashGet download software. Support for multiple users to connect and re-connect.
- 2022-08-07 01:47:12下载
- 积分:1
-
另一个中断程序linux下的
另一个中断程序linux下的 -Another interruption of the procedure under linux
- 2022-03-01 22:45:33下载
- 积分:1
-
此程序时sc32410da源码驱动,这是我开发版上的源码
此程序时sc32410da源码驱动,这是我开发版上的源码-This program sc32410da source driver, this is my development version of the source
- 2023-01-12 13:15:03下载
- 积分:1
-
The second part of touch screen infomation. There are examples and document. I h...
触摸屏资料2,有具体实例,及相关文档,希望对大家有帮助!-The second part of touch screen infomation. There are examples and document. I hope it is helpful.
- 2023-02-15 03:15:04下载
- 积分:1
-
用回溯法求马周游问题,马在棋盘上走字步,从马开始的位置开始周游棋盘,遍历全棋盘后回到起点,是否可行,可行的就输出路径,路径并输入尝试过的路径数,跳过的路径数...
用回溯法求马周游问题,马在棋盘上走字步,从马开始的位置开始周游棋盘,遍历全棋盘后回到起点,是否可行,可行的就输出路径,路径并输入尝试过的路径数,跳过的路径数-law with retrospective travel for Ma, Ma on the chessboard characters step away from the start position Ma started to travel around the chessboard, traverse the whole chessboard return to the starting point and feasible, and viable on the output path, path and enter the path tried a few, the path to skip a few
- 2023-02-04 10:25:03下载
- 积分:1