1.改变下一个输出或输入字体和背景的颜色:
#include <windows.h>
int color(int c)
{
SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE),c);
return 0;//改变颜色的函数
}
c中改变颜色的函数
猜你喜欢
转载自blog.csdn.net/mantou_riji/article/details/107060721
今日推荐
周排行