-
//颜色初始化
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
-
MSP430F412 的单片机 资料
MSP430F412 的单片机 资料-MSP430F412 microcontroller information
- 2022-02-04 11:21:51下载
- 积分:1
-
Linux设备驱动开发详解_nand驱动范例
Linux设备驱动开发详解_nand驱动范例-Linux device driver development driver _nand Detailed Example
- 2022-01-25 20:34:35下载
- 积分:1
-
busybox1.2最新版做嵌入式的利器
busybox1.2最新版做嵌入式的利器 -busybox1.2 latest version of the weapon so Embedded
- 2022-10-22 18:20:03下载
- 积分:1
-
linux kernel programming. absolutely brilliant
linux内核编程.绝对精彩-linux kernel programming. absolutely brilliant
- 2022-05-06 14:14:47下载
- 积分:1
-
SDL是一个自由的跨平台的多媒体开发包源码。适用于 游戏、游戏SDK、演示软件、模拟器、 MPEG播放器和其他应用软件...
SDL是一个自由的跨平台的多媒体开发包源码。适用于 游戏、游戏SDK、演示软件、模拟器、 MPEG播放器和其他应用软件-SDL is a free cross-platform multimedia development kit
- 2022-03-07 06:34:13下载
- 积分:1
-
LINUX新手入门及安装配置
LINUX新手入门及安装配置-Linux Getting Started configuration and installation
- 2022-03-06 10:47:20下载
- 积分:1
-
Procedures used in nachos architecture to complete construction of two
程序使用的是在nachos体系架构下完成双向链表的构建,和对一些并发错误的处理-Procedures used in nachos architecture to complete construction of two-way linked list, and a number of concurrent error handling
- 2022-05-15 14:32:07下载
- 积分:1
-
srtree算法实现
srtree算法实现-srtree Algorithm
- 2022-06-13 00:19:25下载
- 积分:1
-
Linux环境下的程序员如果不会使用GNU make来构建和管理自己的工程,应该不能算是一个合格的专业程序员,至少不能称得上是Linux程序员。在Linux环境...
Linux环境下的程序员如果不会使用GNU make来构建和管理自己的工程,应该不能算是一个合格的专业程序员,至少不能称得上是Linux程序员。在Linux环境下使用GNU 的make工具能够比较容易的构建一个属于你自己的工程,整个工程的编译只需要一个命令就可以完成编译、连接以至于最后的执行。不过这需要我们投入一些时间去完成一个或者多个称之为Makefile文件的编写。此文件正是make正常工作的基础。-Linux environment will not be used if the programmer GNU make to build and manage their own projects, should not be regarded as a qualified professional programmers, or at least should not be called a Linux programmer. In the Linux environment using the GNU tools to make the relatively easy to build a part of your own projects, compile the entire project only need one command to be completed on the compiler to link the extent that the final implementation. However, this requires us to invest some time to complete one or more of the preparation of documents called Makefile. This document is the basis of the work make normal.
- 2022-06-26 05:21:12下载
- 积分:1