图形程序不能在Borland c ++中运行,我该怎么办? [英] Graphics program not run in Borland c++ ,what i do ?
本文介绍了图形程序不能在Borland c ++中运行,我该怎么办?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
when i run simple graphics program Borland c++ throw Error "BGI graphics not supported under windows"
#include<graphics.h>
#include<conio.h>
void main() { int gd = DETECT, gm;
initgraph(&gd, &gm, "C:\\TC\\BGI");
circle(100, 100, 50);
getch(); closegraph();
}
推荐答案
你认为错误信息是什么意思?它意味着你要做的事情,不支持。这根本不是C ++,它是一些不标准的奇怪库,在32位Windows程序中不支持。
为什么你会学习2013年使用Borland C ++?这听起来像是浪费时间。
What do YOU think that error message means ? It means what you're trying to do, is not supported. That's not C++ at all, it's some weird library that is not standard, and not supported in 32bit windows programs.
Why would you learn to use Borland C++ in 2013 ? It sounds like a waste of time to me.
兄弟不要犹豫,只需将libbgi下载到您的编译器
不要担心2013年或2014年只学习c ++
bro don't be hesitate just download libbgi to your compiler
don't be worry about 2013 or 2014 just learn c++
这篇关于图形程序不能在Borland c ++中运行,我该怎么办?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文