使用 c 进行 GUI 编程简介 [英] Introduction to GUI programming with c

查看:55
本文介绍了使用 c 进行 GUI 编程简介的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是新的 GUI 和编程新手,到目前为止我对 c 有一个大致的了解,并且花了很多时间编写控制台应用程序.

I'm new GUI and programming as whole and so far I have a general understanding of c and have spent quite some time writing console applications.

我正在尝试学习 GUI,但到目前为止还没有成功.我尝试过学习 wxwidgets(通过官方文档)、gtk(通过官方文档)和 win32(伪造 win32 教程),但还没有完全掌握.

I'm trying to learn GUI but have so far been unsuccessful. I've tried learning wxwidgets (through official documentation), gtk (through official documentation) and win32 (forgers win32 tutorial) but still haven't quite gotten there.

我仍然很想,但似乎找不到任何好的材料.对于初学者,您建议从什么开始?

I still really want to but can't seem to find any good material. What would you recommend as start for a beginner?

推荐答案

如果您严格限制使用 C,那么您只有几个选择.对于初学者来说,GTK+ 可能是最简单的.

If you are strictly limited to C, you have only a few choices. GTK+ is probably the easiest for a beginner.

像 C++ 这样的面向对象语言更适合 GUI 编程.如果你喜欢使用 C++,我强烈推荐 Qt,主要是因为它的文档非常好,有非常好的教程,特别适合初学者.

An object oriented language like C++ is far more suited to GUI programming. If you like to use C++, I strongly recommend Qt, mainly because of its very good documentation, with very good tutorials especially for beginners.

这篇关于使用 c 进行 GUI 编程简介的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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