c++输出指定颜色字体
#include <iostream>#include "windows.h"using namespace std;int main(){ cout << "原色testCOLOR(没有设置字体颜色)" << endl; SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), FOREGROUND_INTENSITY | FOREGROUND_RED | FOREGROUND_GREEN | F
原创
2021-09-12 22:28:47 ·
1100 阅读 ·
0 评论