| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 648 人关注过本帖
标题:新人 望有人帮助
取消只看楼主 加入收藏
jaimedrl
Rank: 1
等 级:新手上路
帖 子:1
专家分:0
注 册:2011-8-7
结帖率:0
收藏
已结贴  问题点数:20 回复次数:0 
新人 望有人帮助
#include <conio.h>
void main(void)
{
int color;
for (color = 0; color < 8; color++)
  {
  textbackground(color);/*设置文本的背景颜色*/
  cprintf("This is color %d\r\n", color);
  cprintf("Press any key to continue\r\n");
  getch();/*输入字符看不见*/
  }
}
我按照网上 做了这个
但是
warning C4013: 'textbackground' undefined; assuming extern returning int

32.obj : error LNK2001: unresolved external symbol _textbackground
Debug/32.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.


新人  暑假在家 做题
搜索更多相关主题的帖子: undefined continue include warning 
2011-08-11 14:01
快速回复:新人 望有人帮助
数据加载中...
 
   



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

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