C的新手问题:如何将我的引擎代码与图形资源相关联? [英] A newbie question for C: how to link my engine code with graphic resources?

查看:85
本文介绍了C的新手问题:如何将我的引擎代码与图形资源相关联?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我很抱歉不提出亲CS问一个简单的问题。

我是一个专门的自学习编程学习者,我正在尝试构建一些GUI应用程序,但我仍然对将引擎(核心代码)与图形资源链接起来的基本过程感到困惑。前端。



你能告诉我一些教程,书......这说明了吗?



最后说明:我正在使用CodeBlocks试图为任何平台做点什么。据我所知,Visual Studio IDE可能有很多工具,但它只能将应用程序绑定到Windows。



提前谢谢



我的尝试:



几个网站,教程视频

I apologize to ask a simple question by not being pro-CS.
I'm a dedicated autodidactic programming learner, and I'm trying to build some GUI application but I'm still confused about the basic process to link engines ( core code ) with graphics resources which are the front end.

Can you indicate me some tutorial, book...that shows this?

Final note: I'm using CodeBlocks trying to do something for any platform. i understand that Visual Studio IDE might have a lot of tools but it'd bound the app to windows only.

Thanks in advance

What I have tried:

Several websites, Tutorial videos

推荐答案

首先,您必须选择一个GUI框架:与平台无关的GUI库列表 - Wikipedia [ ^ ]。



所有这些都提供了教程和示例代码的文档。因此,在做出最终决定之前,你可能会尝试其中的一些。



因为你使用的是CodeBlocks,你应该至少看一下wxWidgets:WxWindowsQuickRef - CodeBlocks [ ^ ]。



Qt拥有自己的QtCreator IDE,适用于多种平台。虽然您也可以使用CodeBlocks构建Qt应用程序,但QtCreator包含的设计工具可以更简单地设计GUI和连接代码(例如按钮点击等事件)。
At first you have to select a GUI framework: List of platform-independent GUI libraries - Wikipedia[^].

All of those provide documention with tutorials and example code. So you might try out some of them before doing the final decision.

Because you are using CodeBlocks, you should have at least a look at wxWidgets: WxWindowsQuickRef - CodeBlocks[^].

Qt has it's own QtCreator IDE available for multiple platforms. While you can also build Qt applications with CodeBlocks, the QtCreator includes design tools which makes designing the GUI and connecting to code (e.g. events like button clicks) much simpler.


如果您想创建任何平台的应用程序,那么你最好的选择是Java: Java™教程 [ ^ ]。如果你只想要它用于Windows,那么Visual Studio是最好的IDE,你可以从 EFNet #Winprog [ ^ ]和 Win32编程 - 功能X [ ^ ]。
If you want to create an application for any platform then your best bet would be Java: The Java™ Tutorials[^]. If you just want it for Windows then Visual Studio is the best IDE, and you can learn Windows programming from EFNet #Winprog[^] and Win32 Programming - FunctionX[^].


感谢所有你提出的所有好建议,但我认为最终我遇到了我正在寻找:SLD2,一个强大的库,让你不仅可以管理所有图形功能,还有鼠标,键盘,声音......等。现在我将从教程,书籍等中学习。



干杯!
Thanks to all for all your great suggestions but I think that finally I came across with I was looking for: SLD2, a powerful library that allows you to manage not only the all graphic features but also, mouse, keyboard, sounds...etc. Now I'going to learn it from tutorials, books...etc.

Cheers!


这篇关于C的新手问题:如何将我的引擎代码与图形资源相关联?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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