c语言运行背景及结果字体颜色问题
#include<stdio.h>#include<stdlib.h>
#include<conio.h>
#include<graphics.h>
main()
{
textbackground(YELLOW);
textcolor(RED);
clrscr();
printf("This is a Cprogram\n");
}
以这个最简单的程序为例,但我运行时出现一个错误
C:\Program Files (x86)\Microsoft Visual Studio\Common\MSDev98\Bin\自习.c(4) : fatal error C1083: Cannot open include file: 'graphics.h': No such file or directory
Error executing cl.exe.
为啥?
难道是我的资源包不完整?
求大神指点一下,谢谢