#include <stdio.h>
// !定义一些ANSI颜色代码
#define RESET   "\033[0m"
#define BLACK   "\033[30m"      /* Black */
#define RED     "\033[31m"      /* Red */
#define GREEN   "\033[32m"      /* Green */
#define YELLOW  "\033[33m"      /* Yellow */
#define BLUE    "\033[34m"      /* Blue */
#define MAGENTA "\033[35m"      /* Magenta */
#define CYAN    "\033[36m"      /* Cyan */
#define WHITE   "\033[37m"      /* White */

int main() {
    // 使用颜色代码输出文本
    printf(YELLOW "This is black text\n" RESET);
    printf(RED "This is red text\n" RESET);
    printf(GREEN "This is green text\n" RESET);
    // ... 其他颜色输出
    return 0;
}