改变输出文本颜色

什么才是健康色–

#include <stdio.h>
#include <windows.h>

int main()
{
    
    
  SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), FOREGROUND_GREEN);
  printf("我绿了吗~~~\n");

  return 0;
} 

猜你喜欢

转载自blog.csdn.net/and_what_not/article/details/114155933
今日推荐