-
//颜色初始化
if(!has_colors() || start_color() == ERR){
endwin()
print...
//颜色初始化
if(!has_colors() || start_color() == ERR){
endwin()
printf("Terminal does not support color.
")
exit(1)
}
init_pair(1, COLOR_GREEN, COLOR_BLACK)
init_pair(2, COLOR_RED, COLOR_BLACK)
init_pair(3, COLOR_CYAN, COLOR_BLACK)
init_pair(4, COLOR_WHITE, COLOR_BLACK)
init_pair(5, COLOR_MAGENTA, COLOR_BLACK)
init_pair(6, COLOR_BLUE, COLOR_BLACK)
init_pair(7, COLOR_YELLOW, COLOR_BLACK)
//写字符串
for(i = 1 i
- 2023-04-17 02:35:03下载
- 积分:1
-
linux的最初源码,裸命令行时期的源码!可用于研究,学习!
linux的最初源码,裸命令行时期的源码!可用于研究,学习!-the initial source, nude command line during the source! For research to learn!
- 2022-01-26 06:31:46下载
- 积分:1
-
Qt是一个跨
QT是一个跨平台的开发工具,在linux中也可以使用qt,本文件介绍了在linux下进行qt开发图形用户界面!-QT is a cross-platform development tool, linux can also be used qt, this document describes the qt under linux development of graphical user interface!
- 2022-03-13 13:54:03下载
- 积分:1
-
解决线程死锁问题的 生产者 消费者程序
解决线程死锁问题的 生产者 消费者程序-threads of producers and consumers procedures
- 2023-04-05 16:40:04下载
- 积分:1
-
适用于Linux下的针对罗技设想头的驱动程序,其它飞利浦芯片的摄像头也支持...
适用于Linux下的针对罗技设想头的驱动程序,其它飞利浦芯片的摄像头也支持-Applicable to Linux Logitech envisaged under the head against the driver, other Philips chip camera also supports the
- 2022-01-21 04:38:12下载
- 积分:1
-
Linux 2.6 内核的精彩世界
Linux 2.6 内核的精彩世界-the exciting world
- 2023-03-23 07:30:04下载
- 积分:1
-
linux编程 操作系统试验报告
linux编程 操作系统试验报告-test report
- 2022-06-17 23:42:58下载
- 积分:1
-
嵌入式开发 嵌入式开发
嵌入式开发 嵌入式开发-??入???????入???????入????
- 2022-08-12 13:33:05下载
- 积分:1
-
linux系统引导程序源代码,在linux系统启动之前需要一段引导代码...
linux系统引导程序源代码,在linux系统启动之前需要一段引导代码-linux system boot source code, in the linux system, need some guidance before the start code
- 2022-01-26 02:09:02下载
- 积分:1
-
go7007是wis公司推出的MPEG4编码的芯片。本代码是该芯片用于linux平台的驱动程序。...
go7007是wis公司推出的MPEG4编码的芯片。本代码是该芯片用于linux平台的驱动程序。-go7007 WIS is launched MPEG4 encoder chips. This code is the chip platform for linux drivers.
- 2022-02-25 03:34:29下载
- 积分:1