用C ++编写GUI? [英] GUI in C++?

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

问题描述

我想用C ++编写GUI。我想写一个非常好的b $ b简约电影数据库,基本上只显示包含电影标题,流派和ID的txt

文件的内容。至少它可以按类型和标题排序

并以pdf格式打印列表。


因为我已经有了txt文件所以它应该是可以读取txt文件

的内容。对于这个非常基本的实现,我想使用MySql或其他一些开源数据库将会是一种过度杀伤。


有没有框架,api',这个项目的类,C ++相关的教程




我想如果我用GNU g ++编译器编写它只会运行linux。

但是有没有办法编写可以为两个操作系统编译的c ++代码?


Johs

I would like to write a GUI in C++. I would like to write a very
minimalistic movie database which basically just shows the content of a txt
files that contains the titles, genres and ID of the movies. As a minimum it
should be possible to sort by genre and title and print the list in pdf.

Since I already have the txt file it should be possible to read txt files
with the content. For this very basic implementation I guess it would be
overkill to use MySql or some other opensource DB.

Are there any frameworks,api''s, classes, tutorials for C++ that is relevant
for this kind of project?

I guess if I write it with the GNU g++ compiler it will only run in linux.
But is there someway to write c++ code that can be compiled for both OS''s?

Johs

推荐答案



Johs写道:

Johs wrote:

我想用C ++编写GUI。我想写一个非常好的b $ b简约电影数据库,基本上只显示包含电影标题,流派和ID的txt

文件的内容。至少它可以按类型和标题排序

并以pdf格式打印列表。


因为我已经有了txt文件所以它应该是可以读取txt文件

的内容。对于这个非常基本的实现,我想使用MySql或其他一些开源数据库将会是一种过度杀伤。


有没有框架,api',这类项目的类,C ++相关的教程


I would like to write a GUI in C++. I would like to write a very
minimalistic movie database which basically just shows the content of a txt
files that contains the titles, genres and ID of the movies. As a minimum it
should be possible to sort by genre and title and print the list in pdf.

Since I already have the txt file it should be possible to read txt files
with the content. For this very basic implementation I guess it would be
overkill to use MySql or some other opensource DB.

Are there any frameworks,api''s, classes, tutorials for C++ that is relevant
for this kind of project?



是的。许多。参见例如

http://en.wikipedia.org/ wiki / Widget_toolkit

Mirek

Yes. Many. See e.g.

http://en.wikipedia.org/wiki/Widget_toolkit

Mirek


Johs写道:
Johs wrote:

我想用C ++编写一个GUI。我想写一个非常简单的电影数据库,它基本上只显示包含电影标题,流派和ID的

txt文件的内容。作为一个

最小,应该可以按流派和标题排序并以pdf打印

列表。


因为我已经有了txt文件,应该可以读取txt文件

的内容。对于这个非常基本的实现,我想使用MySql或其他一些开源数据库将会是一种过度杀伤。


有没有框架,api',这个项目的类,C ++的教程是什么?


我想如果我用GNU g ++编译器编写它只会运行linux。

但是有没有办法编写可以为两个操作系统编译的c ++代码?


Johs
I would like to write a GUI in C++. I would like to write a very
minimalistic movie database which basically just shows the content of a
txt files that contains the titles, genres and ID of the movies. As a
minimum it should be possible to sort by genre and title and print the
list in pdf.

Since I already have the txt file it should be possible to read txt files
with the content. For this very basic implementation I guess it would be
overkill to use MySql or some other opensource DB.

Are there any frameworks,api''s, classes, tutorials for C++ that is
relevant for this kind of project?

I guess if I write it with the GNU g++ compiler it will only run in linux.
But is there someway to write c++ code that can be compiled for both OS''s?

Johs



您当然可以使用GNU GCC在C ++中编写跨平台的GUI代码。对于

示例:
http://www.mozilla。 org /


这里还有别的东西要看:

http://cartan.cas.suffolk.edu/moin/OopDocbook

-

NOUN:1。遗嘱遗留给他人的金钱或财产。 2.从祖先或前任或过去那里下来的东西:b
宗教自由的遗产。 ETYMOLOGY:MidE legacie,副手办公室,来自OF,来自ML legatia的
,来自L legare,以及deute,遗赠。 www.bartleby.com/61/

You certainly can write cross-platform GUI code in C++ using GNU GCC. For
example:
http://www.mozilla.org/

Here''s something else to look at:

http://cartan.cas.suffolk.edu/moin/OopDocbook
--
NOUN:1. Money or property bequeathed to another by will. 2. Something handed
down from an ancestor or a predecessor or from the past: a legacy of
religious freedom. ETYMOLOGY: MidE legacie, office of a deputy, from OF,
from ML legatia, from L legare, to depute, bequeath. www.bartleby.com/61/

<

Johs写道:
Johs wrote:

我想用C ++编写一个GUI。我想写一个非常简单的电影数据库,它基本上只显示包含电影标题,流派和ID的

txt文件的内容。最低

应该可以按流派和标题排序,并以pdf格式打印

列表。
I would like to write a GUI in C++. I would like to write a very
minimalistic movie database which basically just shows the content of a
txt files that contains the titles, genres and ID of the movies. As a
minimum it should be possible to sort by genre and title and print the
list in pdf.



我可以用网站框架在5到10个小时内完成,或者用C ++实现5到10天

用它的一个GUI工具包。我有5倍的C ++经验。


你为什么用硬语写软文件?


-

Phlip
http://www.greencheese.us/ ZeekLand < - 不是博客!!!

I could do that in 5~10 hours with a website framework, or 5~10 days in C++
with one of its GUI toolkits. And I have 5 times the experience with C++.

Why are you using a hard language to write a soft application?

--
Phlip
http://www.greencheese.us/ZeekLand <-- NOT a blog!!!


这篇关于用C ++编写GUI?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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