文字颜色不打印 [英] text color don't print

查看:87
本文介绍了文字颜色不打印的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

伙计们

我使用"textcolor()"进行文本颜色打印,但不打印文本颜色!为什么?

Tnx

hi guys

i use "textcolor()" for text color print but text color don''t print ! why ?

Tnx

推荐答案

尝试一下

不要忘记将#include <conio.h>放在程序顶部.

try this

dont forget to put #include <conio.h> on top of your program.

textcolor(RED);
textbackground(BLACK);
clrscr();



你可以试试这个

system("color 0A");
Hi,
you can try this

system("color 0A");


这篇关于文字颜色不打印的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆