graphics.h标头可以在64位Windows上运行吗? [英] Can graphics.h header work on 64bit windows?

查看:119
本文介绍了graphics.h标头可以在64位Windows上运行吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Dev-C ++上安装了graphics.h库,但是它不会运行我的代码,因为它在编译器中给了我这个错误:

I installed graphics.h library on Dev-C++ but it wont run my code as it gives me this error in the compiler:

int左= 0,
int right = 0,
int right = INT_MAX,
int bottom = INT_MAX,

int left=0,
int right=0,
int right=INT_MAX,
int bottom=INT_MAX,

这是我的代码:

#include <graphics.h>
void main( )
{

 initwindow(800, 800, "line");
 line(200,200,200,600);
 getch();
}

他们告诉我graphics.h不能在64位Windows上运行...对吗?...

They told me graphics.h can't work on 64-bit windows... Is that right?...

推荐答案

WinBGIm 是32位仅库.编写Windows时,没有64位版本的Windows(Itanium除外).

WinBGIm is a 32-bit library only. There were no 64-bit version of Windows (except for the Itanium) when it was written.

这篇关于graphics.h标头可以在64位Windows上运行吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆