c中改变颜色的函数

    技术2022-07-11  140

    1.改变下一个输出或输入字体和背景的颜色: #include <windows.h> int color(int c) { SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE),c); return 0;//改变颜色的函数 }

    Processed: 0.019, SQL: 9