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

c中改变颜色的函数

相关文章:

  • 2021-06-16
  • 2021-07-30
  • 2022-12-23
  • 2021-08-12
  • 2021-12-15
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-12-28
  • 2021-12-31
  • 2022-12-23
  • 2022-12-23
  • 2021-11-20
相关资源
相似解决方案