| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 554 人关注过本帖
标题:帮一下忙
只看楼主 加入收藏
shangabc
Rank: 1
等 级:新手上路
帖 子:35
专家分:0
注 册:2008-10-7
收藏
 问题点数:0 回复次数:5 
帮一下忙
#include<conio.h>

void main()
{
    int color;
    for(color=0;color<8;color++)
    {
        textbackground(color);
        cprintf("The is color%d\r\n");
        cprintf("Press any key to continue\r\n");
        getch();
    }
}
2008-10-07 22:55
shangabc
Rank: 1
等 级:新手上路
帖 子:35
专家分:0
注 册:2008-10-7
收藏
得分:0 
不能正常运行怎么回事
2008-10-07 22:56
netsolo
Rank: 1
等 级:新手上路
帖 子:122
专家分:0
注 册:2008-3-6
收藏
得分:0 
上帝知道楼主要干什么
2008-10-07 22:56
blueboy82006
Rank: 5Rank: 5
来 自:幻想世界
等 级:贵宾
威 望:16
帖 子:1227
专家分:57
注 册:2007-7-23
收藏
得分:0 
error C2065: 'textbackground' : undeclared identifier

2008-10-07 22:57
hacker507
Rank: 1
等 级:新手上路
帖 子:44
专家分:0
注 册:2008-10-6
收藏
得分:0 
在我电脑上可以运行啊 你是不是没那个头文件啊  是不是缺少头文件
用 win-tc 编译工具试试 应该可以的
2008-10-07 23:43
lingluoz
Rank: 2
来 自:苏州科技学院
等 级:新手上路
威 望:4
帖 子:749
专家分:0
注 册:2008-2-2
收藏
得分:0 
你用的VC没有textbackground函数 改用tc试试

Murphy's Law :
If there are two or more ways to do something, and one of those ways can result in a catastrophe, then someone will do it.
2008-10-08 00:35
快速回复:帮一下忙
数据加载中...
 
   



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

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