代码搜索:SetConsoleTextAttribute
找到约 36 项符合「SetConsoleTextAttribute」的源代码
代码结果 36
www.eeworm.com/read/342797/11998792
cpp clrcon.cpp
/*
Helper console output func.
BY CSK
www.csksoft.net csk@live.com
*/
#include "clrcon.h"
static HANDLE std_out = INVALID_HANDLE_VALUE;
static WORD org_clr_info = NULL;
sta
www.eeworm.com/read/139690/13139421
cpp colorx.cpp
#include
#include
using namespace std;
void test1(HANDLE hOut);
void test2(HANDLE hOut);
void clrscr();
void gotoxy(int x, int y);
void setrgb(int color);
void
www.eeworm.com/read/157880/11658421
cpp file1.cpp
#include"student.h"
#include
void SetColor(unsigned short ForeColor=4,unsigned short BackGroundColor=0)
{
HANDLE hCon=GetStdHandle(STD_OUTPUT_HANDLE);
SetConsoleTextAttribute(hCon,(F
www.eeworm.com/read/422201/10655604
c main.c
#include "os.h"
#include "stdio.h"
#include "string.h"
#include "windows.h"
void textcolor(int color);
//设置文本输出颜色
void textcolor (int color)
{
SetConsoleTextAttribute (GetStdHandle (STD_
www.eeworm.com/read/455780/7365682
c main.c
#include "os.h"
#include "stdio.h"
#include "string.h"
#include "windows.h"
void textcolor(int color);
//设置文本输出颜色
void textcolor (int color)
{
SetConsoleTextAttribute (GetStdHandle (STD_