-
//颜色初始化
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
-
这些代码和文本文件写在EUC
These code and text file are written in euc-jp-unix
- 2023-08-22 11:30:03下载
- 积分:1
-
这是MIZI src包vivi bootloader时需要编制headfiles
this SRC packet is the headfiles that MIZI vivi bootloader needed when compling
- 2022-07-13 19:39:59下载
- 积分:1
-
家庭作业,操作系统,共享内存
homework , operating system, on shared memory
- 2022-03-24 10:30:07下载
- 积分:1
-
dm9000 linux driver
希望对大家有用
dm9000 linux driver
希望对大家有用-dm9000 linux driver hopes useful for all
- 2022-01-26 01:27:12下载
- 积分:1
-
44b0平台下开发的程序,makefile。
44B0平台下开发的程序,MAKEFILE。-44B0 platform developed under the program, MAKEFILE.
- 2023-01-20 09:20:04下载
- 积分:1
-
我做的闹钟程序 既包含了Qlcdnumber显示当前时间 也能在时间到的时候提醒...
我做的闹钟程序 既包含了Qlcdnumber显示当前时间 也能在时间到的时候提醒-I do not only contain Qlcdnumber alarm clock program displays the current time can also time to time to remind the
- 2022-08-07 13:45:03下载
- 积分:1
-
linux下的sdcard目标程序!
sdcard模块!
linux下的sdcard目标程序!
sdcard模块!-Linux sdcard
- 2022-10-15 02:55:04下载
- 积分:1
-
一种基于C++语言的编译程序,在开发下现了一个硅…
一个编译器的例子,基于c语言,在linux下开发
现在了简单的c语言例子-a compiler of examples based on c language, the Linux development now under a simple example language c
- 2022-03-06 21:47:34下载
- 积分:1
-
UNIX高级编程, word 格式的,推荐!
UNIX高级编程, word 格式的,推荐!-UNIX high-level programming, word format recommended!
- 2022-05-07 07:38:14下载
- 积分:1