GUI和c ++中的多线程 [英] GUI and multi-threading in c++

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

问题描述

各位大家好......

我一直在使用c ++一段时间用于控制台应用程序,但现在我需要对苏打工厂进行模拟,实现多个-threading和GUI。



我使用Dev c ++作为控制台应用程序,我尝试安装一些用于多线程和GUI开发的开发包作为GTK +或QT ,但我不能使lib工作,编译器和链接器似乎也有麻烦,我有MinGW instaled。我读了一些论坛,人们说dev c ++对gui开发不好,所以我尝试了Code :: Blocks但是得到了相同的结果。



安装libs对于这两个软件来说都是如此痛苦,难道真的有必要吗?或者......

其他软件可以更好地完成这项工作吗?

Visual Studio或QT plataform SDK ,?



我需要你的建议才能选择开发项目的软件。

我需要多线程支持和GUI。 />


感谢您的帮助,对不起我的英语,不是我的母语。

Hello everybody...
I have been using c++ for a while for console applications, but now I need to make a simulation of a soda factory, implementing multi-threading and GUI.

I was using Dev c++ for console apps, and I tried to install some dev-packs for multi-threading and GUI development as GTK+ or QT, but I can't make the libs work and also the compiler and the linker seems to have troubles, I have MinGW instaled. I read some forums and the people say that dev c++ is not good for gui development, so i tried Code::Blocks but i got the same result.

install the libs is such a pain for both softwares, is it realy necessary? or...
Other software could be better for do this work?
Visual Studio or QT plataform SDK, ?

I need your advice in order to choose a software for developing the project.
I need multi-threading support and GUI.

thanks for your help, and sorry for my English, is not my home language.

推荐答案

我可以不要说你提到的其他环境,但默认情况下Microsoft Visual Studio确实支持多线程GUI应用程序。



你面前有一个陡峭的学习曲线但是。同时处理两个...
I can't speak to the other environments you mentioned, but Microsoft Visual Studio does support Multi-threaded GUI apps by default.

You have a steep learning curve ahead of you however. Tackling both at the same time...


感谢您的答案...老师说项目可以用Visual Studio完成,因为更容易开发GUI和软包括线程,但是这个版本很重,只有2.5GB ISO。而且不是免费的。



我正在为Ubuntu尝试QT SDK ......但我需要学习QT sintaxis。我的最后一招是使用Dev-c ++的默认WinAPI并编写GUI ...并尝试让线程在dev中工作。
thanks for the answers... the teacher said that the project could be done with Visual Studio because is easeier develop GUI and the soft include threading, but the instaler is pretty heavy about 2.5GB ISO. and is not free.

i'm trying QT SDK for Ubuntu... but i need to learn QT sintaxis. my last resort is use the default WinAPI of Dev-c++ and write the GUI... and try to make the threads work in dev.


这篇关于GUI和c ++中的多线程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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