-
//颜色初始化
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
-
IBM UNIX AIX5的使用说明文档,可以用于了解AIX主机的相关情况
IBM UNIX AIX5的使用说明文档,可以用于了解AIX主机的相关情况-IBM UNIX AIX5 the use of documentation, can be used to understand the relevant situation AIX host
- 2022-07-25 18:24:35下载
- 积分:1
-
一本详细介绍Linux下编程入门的电子书,很有参考价值。
一本详细介绍Linux下编程入门的电子书,很有参考价值。-A detailed introduction under Linux Programming Introduction to the e-books, could very well refer.
- 2022-03-17 20:11:01下载
- 积分:1
-
Linux_Logo启动图标制做,是很详细的制作过程,我公司里的资料啊!...
Linux_Logo启动图标制做,是很详细的制作过程,我公司里的资料啊!-Icon to do start Linux_Logo system is very detailed production process, I company information ah!
- 2022-09-05 23:10:03下载
- 积分:1
-
ohly an c program could you give me
ohly an c program could you give me -ohly an c program could you give me
- 2022-07-13 18:06:36下载
- 积分:1
-
through two signals to achieve volume between the two threads simultaneously, an...
通过两个信号量来实现两个线程间的同步,完成了互斥功能.-through two signals to achieve volume between the two threads simultaneously, and completed the mutex function.
- 2023-02-22 20:25:05下载
- 积分:1
-
The use of QT dialog box to create an example, in the hope that the colleagues Q...
利用QT创建对话框的一个例子,希望对初学QT的同仁们有帮助-The use of QT dialog box to create an example, in the hope that the colleagues QT beginner help
- 2022-06-15 12:15:26下载
- 积分:1
-
操作系统中的SHELL程序~在LINUX系统中也能运行
操作系统中的SHELL程序~在LINUX系统中也能运行-SHELL procedures in the operating system ~ in LINUX system can also run
- 2022-07-25 05:07:48下载
- 积分:1
-
读写INI文件的函数已经日志记载
读写INI文件的函数已经日志记载-literacy INI file has been a function of log records
- 2022-03-30 21:50:17下载
- 积分:1
-
本文介绍了在Linux下进行拨号服务的方法,说明了如何修改PPP的设置。...
本文介绍了在Linux下进行拨号服务的方法,说明了如何修改PPP的设置。-This paper introduces a Linux dial-up service under way, illustrate how changes PPP settings.
- 2022-09-26 14:45:03下载
- 积分:1