Visual Studio等同于Linux中的C ++开发人员 [英] Visual Studio equivalent in Linux for C++ developers

查看:182
本文介绍了Visual Studio等同于Linux中的C ++开发人员的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


可能重复:

C ++ IDE for Linux?

href =http://en.wikipedia.org/wiki/Microsoft_Visual_Studio> Visual Studio for C ++ programming until now。现在我需要转换到Linux for C ++编码。安装 Ubuntu 后,我意识到,如果没有Visual Studio的舒适性,C ++程序员的生活是非常困难的。

I have been working with Visual Studio for C++ programming until now. Now I need to make a transition to Linux for C++ coding. After installing Ubuntu, I realized that life of a C++ programmer is very difficult without the comfort of Visual Studio.

在Linux中是否有类似于Visual Studio的成熟IDE?我尝试 KDevelop ,但它提供了错误,指出我需要写一个 CMake 文件,我不知道。界面也看起来业余。我该怎么办呢?如果KDevelop是一个,我如何为 Hello world程序编写一个CMake文件?

Is there a mature IDE comparable to Visual Studio in Linux? I tried KDevelop, but it is giving errors indicating that I need to write a CMake file first, which I do not know. The interface also looks amateurish. How do I go about it? If KDevelop is the one, how do I write a CMake file for a Hello world program?

推荐答案

Linux开发体验的重要组成部分(如果您打算转换到Linux,做一个一次性项目)是学习所有的标准的各种工具,不让IDE接管,直到你知道发生了什么。

An important part of the Linux development experience (if you plan to transition to Linux rather than doing a one-off project) is to learn all of the various tools that are standard and not let the IDE take over until you know what's going on under the hood.

首先了解有关 make 。一旦你知道 make ,你应该能够编写简单的程序,如Hello World。之后,了解一下gdb ,因为那时您可以调试。最后了解自动工具制作

Start by learning a little bit about make. Once you know make, then you should be able to write simple programs, such as Hello World. After that, learn a bit about gdb, because then you can debug. Finally learn a bit about autotools or CMake.

(与其链接到每个工具的主页,此答案中的每个链接都链接到有关该工具的介绍性教程。)

(Rather than linking to each tool's home page, each of the links in this answer links to an introductory tutorial about the tool in question.)

这篇关于Visual Studio等同于Linux中的C ++开发人员的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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