创建一个Mac的C ++图形用户界面/ API [英] Create a C++ GUI/API for Mac

查看:4681
本文介绍了创建一个Mac的C ++图形用户界面/ API的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我很困惑

1)的GUI和API之间的差
  2)在哪里学习,使我自己的GUI / API
  3)什么所有的premade GUI / API的有

1) the difference between a GUI and API 2) Where to learn to make my own GUI/API 3) What all the premade GUI/API's there are

我的目标是学习如何使实际的方案,而不是仅仅使用控制台,是的,我想在Mac OS X(preferably跨平台)这样的解决方案。请帮忙!如果你是由什么我需要知道的困惑,发表评论。

My goal is to learn how to make actual programs instead of just using console and yes, I would like a solution for doing this on Mac OS X (preferably cross-platform). Please help! IF you are confused by what I need to know, leave a comment.

P.S。我怎么会变成一个控制台游戏变成一个实际的2D游戏(我知道它不是简单)。

P.S. How would I turn a console game into an actual 2D game (I know its not easy).

推荐答案

GUI表示图形用户界面,而API代表应用程序编程接口。

GUI stands for Graphical User Interface, while API stands for Application Programming Interface.

这是编程术语可重用的库,常见的有称为API。我通过GUI / API假设你的意思了一个API,允许您创建基于GUI的应用程序。例如Swing是用于创建图形用户界面的Java API。

It is common in programming terminology reusable libraries are called as API. I assume by GUI/API you mean an API that allows you to create GUI based applications. For example Swing is Java API for creating GUI.

对于C ++也有许多库,它让你做出的GUI应用程序。最值得注意的,开源,跨平台的有:

For C++ there are many libraries which allow you to make GUI applications. Most notable, open source and cross platforms ones are:

GTK + http://www.gtk.org/

http://qt-project.org

http://www.wxwidgets.org/

有其他不少。

如果你想创建自己的GUI API,它是跨平台的,那么你应该学习上面的库。但让我提醒你,创建一个UI库是一项艰巨的任务!

If you want to create your own GUI API which is cross platform, then you should study the above libraries. But let me warn you, creating a UI library is a huge task!

这篇关于创建一个Mac的C ++图形用户界面/ API的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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