GUI编程C ++或C# [英] GUI programming c++ or c#

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

问题描述

我正在我的大学上软件工程课.我只是采用了数据结构,而几乎采用了设计模式.通过设计模式课程,讲师让我们选择在实验室中使用的语言和IDE.从那以后,我大多数都知道C ++.大部分课程使用c#,而某些则使用java ..

I am taking software engineering classes at my university. I just took data structures and i am almost done taking design patterns. With the design patterns class the instructor let us choose what Language to use and what IDE to use on our labs. Since, i know C++ mostly i used that. Most of the class used c# and some used java..

好吧,我刚刚报名参加了GUI编程春季学期课程,并且是同一位老师,他说我们可以使用任何我们喜欢的东西.因为,我从未真正使用过C#,所以我可能会更好地使用c ++?我已经研究过使用QT4了,但是我不知道它有多难,并且真的有多少帮助?既然如此,就不会有很多演讲..

Well, i just signed up for GUI programming spring term, and its the same teacher, and he said we can use whatever we like. Since, i have never really used C# i might be better of using c++? I have looked into using QT4 but i dont know how hard it is, and how much helps really out there? Since, there wont be much lecturing..

我正在考虑使用C#,因为我已经在VB.NET中学习了类,并且使用了winforms.但是,我很想使用C ++,您对此有何看法?我将来会在现实世界中使用c ++ gui吗?还是我最好尝试学习C#不过,我还是愿意在自己的职业生涯中坚持使用C ++.

I am considering using C# since i have taken classes in VB.NET and have used winforms quite a bit. However, i would love to use C++ what are your thoughts? Is c++ gui something i might use in the future in the real world? or am i better off trying to learn C# I would love to stick with C++ in my career path though..

我也不想同时学习C#和GUI.QT4是一个好方法吗?

I dont want to be stuck learning C# and GUI at the same time either. Is QT4 a good way to go?

推荐答案

qt并不难处理.我已经尝试了一些用于c ++的gui工具包,这是我在c ++方面的经验

qt is not that difficult to work with. I have tried some gui tool kits for c++ and this is my experience in terms of c++

对于c ++开发和gui而言,我将绝对支持Qt,而不是诸如Win32 API,Microsoft基础类等替代库.

For c++ development and gui's i would overwhelmingly favour Qt instead of alternative libraries like win32 api, Microsoft foundation classes, etc.

  • qt是跨平台的,可以在Windows,Linux,Symbian,Windows CE,Mac OSX上使用
  • qt并不难学习.如果您了解c ++类的基础知识和一些模板编程
  • qt用于专业创建GUI.我记不清了,但我认为Autodesk Maya和Adobe Photoshop可能会使用qt作为其gui的
  • qt4不仅具有gui编程,即具有用于联网,国际化,用于视频和音频的声子,动画框架等的库
  • 它不是本机库,因此您的应用程序会比使用win32 api大,但即使如此,我仍然认为它比.net运行时小
  • 使用qt4第二版查找本书c ++ gui编程.或其他好的资源
  • 下载适用于Visual Studio 2008的qt sdk
  • 下载适用于Visual Studio 2008的qt visual studio加载项
  • 创建一个新的qt4项目并编译并运行您的第一个项目

我应该从一开始就声明自己不是C#开发人员,但我知道它有一些不错的东西

i should state from the outset that i am not a c# developer but i know it has some good stuff

  • 允许您使用Windows窗体,wpf,linq(语言集成查询)等
  • wpf是您作为C#开发人员最感兴趣的
  • 像所有.net语言一样,它仍然比用c ++编写的本机应用程序慢
  • 不能移植到不同的操作系统(如mac osx,linux)(但请记住,大多数用户(90%)正在运行WINDOWS)
  • 如果您将Windows XP用户作为目标用户,则必须下载.net来给他们带来不便,以使您的应用程序正常运行.对我来说,这是.net语言的最大缺点,因为我认识的大多数用户的互联网连接速度都很慢
  • 找到释放的Windows演示文稿基础或任何优秀的c#/wpf书
  • 我不是c ++或c#的专家,只是在发表自己的见解或经验.
  • 我在c#方面的经验有限

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

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