学习 C++ (Linux+QtCreator) 我应该升级到 Windows+VisualC+VisualAssist 吗?比较如何?
我是一名长期的 Linux 用户,也是一名“高级”Python 程序员。最近周末有空,开始学习C++。
我使用 Qt Creator 进行开发,因为它具有很好的功能,而且简单、速度极快,而且我还计划将来编写 Qt 应用程序,所以如果我已经习惯了 Qt Creator 之类的东西,那会很简单。
我喜欢自动完成、不错的代码突出显示、调试的可视化辅助等功能,以及这些现代功能,只要它们不妨碍我。
然而,很多人告诉我,如果我真的喜欢这些功能,我应该使用 Visual C++ 和 Visual Assist(一个插件)。一位朋友带着他的带有 Visual Studio 的笔记本来到这里,我的第一印象是它太复杂了,屏幕上有数千个菜单和无数的图标和信息。
我实际上无法测试它的生产力和精度,因为他不能长期借用我。
所以,我的问题是基本的;考虑到最新 Qt Creator (2.2.1) 的功能是否值得购买所有这些软件(Windows、Visual C、Visual Assist)?
是否可以配置这些软件来帮助我进行跨平台编程?
先感谢您。
I'm a long-term Linux user and an 'advanced' Python programmer. I'm recently having some spare time on weekends and I'm beginning to learn C++.
I'm using Qt Creator for development because it has nice features and is simple, blazing fast and I also plan to program Qt applications in the future, so it's gonna be straightforward if I'm already used to something like Qt Creator.
I like features such auto completion, decent code highlighting, visual assistance for debugging, and these kind of modern features, as long as they don't stand on my way.
However, a lot of people are telling me that if I really like those feature I should use Visual C++ and Visual Assist (a plug-in). A friend brought his notebook with Visual Studio here and my first impression was that it's too much complicated, with thousands of menus and uncountable icons and information on screen.
I couldn't actually test it for productivity and precision because he couldn't borrow me for a long time.
So, my question is basic; considering the features of the latest Qt Creator (2.2.1) does it worth to buy all that softwares (Windows, Visual C, Visual Assist)?
Is it possible to configure those softwares to aid me in cross-platform programming?
Thank you in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
当你刚刚开始学习 C++ 时,Qt Creator 是一个不错的选择。它的功能足够了,IDE也很简单,不会打扰你学习C++。 Qt框架本质上是跨平台的,而VS则不是。
另一方面:
我会选择 Visual Studio & Visual Assist 用于开发更大的软件,由于
When you are just starting with learning C++, Qt Creator is a good choice. Its features are sufficient and the IDE is simple so it will not disturb you from learning C++. Qt framework is inherently cross-platform, while VS is not.
On the other side:
I would choose Visual Studio & Visual Assist for developing larger software, due to
执行摘要:您不需要 Visual Studio 即可在 Windows 上学习 Qt。为什么不在linux上学习Qt呢?同一个图书馆:)
如果您喜欢 Qt Creator IDE,请注意它与 Qt 一样跨平台。对于 Windows,有一个二进制包,其中包括 IDE、预构建的 Qts 和 mingw(基本上是 gcc 到 Windows 的端口),您可以使用它来生成本机可执行文件。对于linux,它将仅使用系统编译器和Qt。对于 Mac,它将使用系统编译器。 Windows 是唯一没有内置编译器的操作系统。
哦,你没有窗户。如果您愿意的话,拥有一些 Windows 编程经验可能会增加您的市场竞争力。你? :)
Executive summary: you don't need visual studio to learn Qt on windows. Why not learn Qt on linux? Same library :)
If you like the Qt Creator IDE, note it's as cross platform as Qt. For windows there's a binary package that includes the IDE, prebuilt Qts and mingw (which is basically a port of gcc to windows), which you can use to produce native executables. For linux it will just use the system compiler and Qt. For Mac it will use the system compiler. Windows is the only one that doesn't come with a compiler built in.
Oh, you don't have windows. Having some windows programming experience might increase your marketability if you care. Do you? :)
我会提倡KDevelop4。它是为 C++ 设计的,DUChain 为您提供了良好的编程提示。
I will advocate KDevelop4. It's designed for C++ and DUChain gives you good programming hint.
虽然我是 Visual C++ 的狂热爱好者,并且我几乎将它用于我开发的所有内容,但我不会建议您,因为您想使用 QT 进行开发。最好使用支持 QT 和跨平台开发的免费工具。 VC 和 VA 绝对是 Windows/C++ 上久负盛名的开发工具组合,但您的要求不适合这些昂贵的产品。
获取 Windows 的评估/限时副本,获取 Eclipse/NetBeans/其他开发 IDE 或 Visual Studio Express,安装 QT 开发的所有先决条件并开始使用。大约一个月后,您自己决定是否需要 VS/VA。
While I am a Visual C++ fanatic, and I use it for almost everything I develop - I wouldnt advice you since you want to develop using/on QT. Better use free tools which do support QT and cross platform development. VC and VA are definitely beyond-repute development tool couple on Windows/C++, but your requirement doesnt fit these costly products.
Get a evaluation/time-limited copy of Windows, get Eclipse/NetBeans/other-developement-IDE or Visual Studio Express, install all prerequisites for QT developement and get started. After a month or so, you yourself decide if you need VS/VA or not.
如果您有钱并且只使用 Windows,那么您应该这么做。
如果不是,请继续使用 Qt Creator。它是我用过的最好的免费、轻量级、优秀的自动完成功能。
If you have money and limit yourself to Windows, then you should.
If you're not, stick with Qt Creator. It is the best free, lightweight, good autocomplete I've used ever.