| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 762 人关注过本帖
标题:文本颜色
只看楼主 加入收藏
shuiyunjian
Rank: 1
等 级:新手上路
帖 子:5
专家分:0
注 册:2009-9-11
结帖率:100%
收藏
 问题点数:0 回复次数:2 
文本颜色
#include "stdafx.h"
#include "conio.h"
int _tmain(int argc, _TCHAR* argv[])
{
    int color;
for (color=1;color<16;color++)
{
    textcolor(color);
    cprintf("this is color%d\r\n",color);
   
}
textcolor(128+15);
cprintf("this is blinking\r\n");
    return 0;
}
在vs2005中不能运行 为什么?有这样的错误:\文本颜色设置.cpp(12) : error C3861: 'textcolor': identifier not found
帮忙改改。
请高手介绍一个可以运行的软件。谢谢!
搜索更多相关主题的帖子: 颜色 文本 
2009-10-13 21:03
zhangxf1989
Rank: 6Rank: 6
等 级:侠之大者
帖 子:96
专家分:419
注 册:2009-9-5
收藏
得分:0 
在TC中运行吧。
2009-10-13 22:02
liu200909
Rank: 2
来 自:湖北
等 级:论坛游民
帖 子:56
专家分:54
注 册:2009-9-20
收藏
得分:0 
回复 楼主 shuiyunjian
在C++6.0里面也不可以运行,我也试过了,不好意思啊
 出现这样的错误
Cannot open include file: 'stdafx.h': No such file or directory
2009-10-13 22:34
快速回复:文本颜色
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.013998 second(s), 7 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved