本文介绍了用C ++编写GUI?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 29岁程序员,3月因学历无情被辞! 我想用C ++编写GUI。我想写一个非常好的b $ b简约电影数据库,基本上只显示包含电影标题,流派和ID的txt 文件的内容。至少它可以按类型和标题排序 并以pdf格式打印列表。 因为我已经有了txt文件所以它应该是可以读取txt文件 的内容。对于这个非常基本的实现,我想使用MySql或其他一些开源数据库将会是一种过度杀伤。 有没有框架,api',这个项目的类,C ++相关的教程 ? 我想如果我用GNU g ++编译器编写它只会运行linux。 但是有没有办法编写可以为两个操作系统编译的c ++代码? JohsI would like to write a GUI in C++. I would like to write a veryminimalistic movie database which basically just shows the content of a txtfiles that contains the titles, genres and ID of the movies. As a minimum itshould 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 fileswith the content. For this very basic implementation I guess it would beoverkill to use MySql or some other opensource DB.Are there any frameworks,api''s, classes, tutorials for C++ that is relevantfor 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推荐答案 是的。许多。参见例如 http://en.wikipedia.org/ wiki / Widget_toolkit MirekYes. Many. See e.g. http://en.wikipedia.org/wiki/Widget_toolkitMirek 您当然可以使用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. Forexample: 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 handeddown from an ancestor or a predecessor or from the past: a legacy ofreligious freedom. ETYMOLOGY: MidE legacie, office of a deputy, from OF,from ML legatia, from L legare, to depute, bequeath. www.bartleby.com/61/ 我可以用网站框架在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?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!
07-25 08:22