需要说明C中的图形头文件 [英] Need explanation for graphics header file in c

查看:92
本文介绍了需要说明C中的图形头文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道用C语言编写的图形选项,所以请向我解释一下图形头文件.

I like to know graphical options in c language, so pls explain me about graphics header file.

推荐答案

看看 ^ ]来查看图形显示界面功能的列表.
Have a look here[^] to see a list of the graphics display interface functions.


在C语言中没有图形选项-您将不得不在C语言之外做图形的任何事物的语言标准.您选择哪种图形取决于您要在哪种环境中使用哪种类型的图形. Windows上的热门选择包括GDI(如果您是像我这样的老屁,则是2D),GDI +(如果您是个年轻的屁,则是2D),DirectX(如果您是想成为游戏程序员的话,则是2D和3D)和OpenGL(如果您想成为游戏程序员并希望代码可移植,则为2D和3D).

干杯,

You have no graphical options in C - you''ll have to look outside the language standard for anything that does graphics. And which one you choose will depend on what type of graphics you want to do and in which environment. Popular choices on windows include GDI (2D if you''re an old fart like me), GDI+ (2D if you''re a slightly younger fart), DirectX (2D and 3D if you''re a wannabe games programmer) and OpenGL (2D and 3D if you''re a wannabe games programmer and want your code to be portable).

Cheers,

Ash


这篇关于需要说明C中的图形头文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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