哪些工具可用于开发c ++代码 [英] Which tools can be used to develop c++ code

查看:103
本文介绍了哪些工具可用于开发c ++代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我们想要开发我们需要的c ++代码时

1.visual studio 2008用于编写代码或Linux

2.为什么我们需要SQL命令

when we want develop c++ code which we need i.e
1.visual studio 2008 for writing code or Linux
2.Why we need SQL commands

推荐答案

要用C ++开发,至少需要:

To develop in C++, you need, as a minimum:
  1. 一些文本编辑器或用于创建源代码的任何其他工具;
  2. 用于您正在使用的操作系统和平台的C ++ 编译器;
  3. 兼容的链接器
  1. Some text editor or any other tool to create source code;
  2. C++ compiler for the OS and platform you are using;
  3. Compatible linker.



如果您不知道上述每个工具的用途是什么,那么您还没有准备好开发C ++代码;请阅读相关主题的更多信息。



这些天,人们通常使用一些 IDE 。是的,您可以使用Visual Studio for IDE,但前提是您开发了一些跨平台代码,而不是使用任何平台API和其他平台特性。这是一件罕见的事情。在Windows上开发和调试此类代码后,您需要为Linux重建它,以便能够在Linux上使用。 (请注意,C ++ / CLI是一个完全不同的故事;它编译为IL代码程序集,可以在不重新编译的情况下在不同平台上使用,前提是安装了基于CLR的框架并且代码与可用库兼容。)

在所有其他情况下,您需要一些适用于Linux的IDE。我推荐一种这样的产品, Anjuta ,对于那些有Windows开发经验的人来说特别方便,但还有更多:

http://en.wikipedia.org/wiki/Anjuta [ ^ ],

http://anjuta.org/ [ ^ ]。



另一个,现在非常流行,是 code :: Blocks

http://en.wikipedia.org/wiki/Code::Blocks [ ^ ],

http://codeblocks.org/ [ ^ ]。



Linux开发的环境可能非常不同ENT。例如,我可以使用像Emacs这样的传统工具,只是一个非常可扩展的文本编辑器

http://en.wikipedia.org/wiki/Emacs [ ^ ]。



构建工具按照基本IDE的许多功能配置到此编辑器:构建,通过在文本缓冲区中显示有问题的代码的位置来显示所有构建错误,等等。



毋庸置疑,Linux的所有工具都是开源的。



SQL?如果你不知道为什么需要它,你就不需要它们。如果您想知道那是什么,请阅读主题。只有你能提出值得回答的问题。



-SA


If you don't know what is the purpose of each of the above tools, you are not yet ready do develop C++ code; please read more on related topics.

These days, people usually use some IDE. Yes, you can use Visual Studio for IDE, but only if you develop some cross-platform code, not using any platform APIs and other platform peculiarities. This is a rare thing. After you developed and debugged such code on Windows, you will need to rebuild it for Linux, to be able to use on Linux. (Note that C++/CLI is a completely different story; it compiles to IL-code assemblies and can be used on different platforms without recompilation, provided CLR-based framework is installed and the code is compatible with available libraries.)
In all other cases, you would need some IDE for Linux. I recommend one of such products, Anjuta, the one which is especially convenient for those who have Windows development experience, but there are more:
http://en.wikipedia.org/wiki/Anjuta[^],
http://anjuta.org/[^].

Another one, pretty popular these days, is code::Blocks:
http://en.wikipedia.org/wiki/Code::Blocks[^],
http://codeblocks.org/[^].

The environments for Linux development could be very different. I can be, for example, such a traditional tool as Emacs, just a very extensible text editor:
http://en.wikipedia.org/wiki/Emacs[^].

The build tools are configured to this editor the way you would have many features of basic IDE: the build, showing all build errors with presenting the position of the offending code in the text buffer, and so forth.

Needless to say, all the tools for Linux are open-source.

SQL? If you don't know why do you need it, you don't need them. If you want to know what is that, read on the topic. Only that you would be able to ask questions which may worth answering.

—SA


这篇关于哪些工具可用于开发c ++代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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