登录
首页 » Linux-Unix program » //颜色初始化 if(!has_colors() || start_color() == ERR){ endwin() print...

//颜色初始化 if(!has_colors() || start_color() == ERR){ endwin() print...

于 2023-04-17 发布 文件大小:549.00 B
0 142
下载积分: 2 下载次数: 1

代码说明:

//颜色初始化 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

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 这是一个学习Linux网络编程的好资料。
    这是一个学习Linux网络编程的好资料。-A good information for learning Linux network programming.
    2022-01-25 18:08:33下载
    积分:1
  • YAFFS/YAFFS2 effect is very ideal of NAND Flash File System. is dedicated to NAN...
    YAFFS/YAFFS2是效果很理想的NAND Flash上的文件系统,是专门为NAND Flash设计的嵌入式文件系统,适用于大容量的存储设备。-YAFFS/YAFFS2 effect is very ideal of NAND Flash File System. is dedicated to NAND Flash design of embedded file system, as applied to large-capacity storage devices.
    2023-05-01 23:20:03下载
    积分:1
  • Solaris 培训文档solaris 9 培训文档
    Solaris 培训文档solaris 9 培训文档-solaris 9 培训文档solaris 9 培训文档
    2022-02-05 23:37:09下载
    积分:1
  • MPlayer
    MPlayer-mingw32-1.0rc2.zip 经典播放器源码,支持几乎所有的格式 支持*.264-MPlayer-mingw32-1.0rc2.zip classic player source code, support for almost all the format support*. 264
    2022-03-21 12:05:25下载
    积分:1
  • 用VHDL语言描述的通用异步DRAM控制器,通过一个集成…
    用vhdl描写的通用异步dram控制器,经过编译器综合和仿真测试,符合设计要求。-Using VHDL description Universal Asynchronous dram controller, through an integrated compiler and simulation testing, in line with the design requirements.
    2023-08-21 04:15:03下载
    积分:1
  • 清华大学-电子信息工程系-实验用ARM
    清华大学-电子信息工程系-实验用ARM-linux-源代码-LED_ON――c篇-Tsinghua University- Electronic Information Engineering- experiment with ARM-linux-source code-LED_ON- c Part
    2022-07-15 00:55:11下载
    积分:1
  • Novell.Press.Linux.Kernel.Development linux内核开发的经典书籍之一 The Linux kernel is o...
    Novell.Press.Linux.Kernel.Development linux内核开发的经典书籍之一 The Linux kernel is one of the most interesting yet least understood open-source projects. It is also a basis for developing new kernel code. That is why Sams is excited to bring you the latest Linux kernel development information from a Novell insider in the second edition of Linux Kernel Development. This authoritative, practical guide will help you better understand the Linux kernel through updated coverage of all the major subsystems, new features associated with Linux 2.6 kernel and insider information on not-yet-released developments. You ll be able to take an in-depth look at Linux kernel from both a theoretical and an applied perspective as you cover a wide range of topics, including algorithms, system call interface, paging strategies and kernel synchronization. Get the top information right from the source in Linux Kernel Development-The Linux kernel is one of the most interesting yet least understood open-source proj
    2022-08-20 17:47:39下载
    积分:1
  • 利用XML来作为Makefile的make工具源代码.
    利用XML来作为Makefile的make工具源代码.-use XML as a Makefile to make the source code tool.
    2022-11-30 23:10:03下载
    积分:1
  • 删除读写STL C
    inifile read and write in stl c
    2022-04-14 21:08:20下载
    积分:1
  • linniux programming bible of a book source, learning linux programming will be o...
    linniux编程bible一书的源码,对学习linux编程有很大帮助,包括linux的各方面编程,比如网络、makefile、进程-linniux programming bible of a book source, learning linux programming will be of great help, including all aspects of the Linux programming, such as the networks, makefile, processes, etc.
    2022-05-13 00:05:55下载
    积分:1
  • 696516资源总数
  • 106459会员总数
  • 0今日下载