如何在C ++中设置环境? [英] how to set up environment in C++?

查看:68
本文介绍了如何在C ++中设置环境?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Java中,我们必须设置Path和classpath才能正确运行

程序。有谁能告诉我如何在C ++

世界中做到这一点?如果我不想使用

任何IDE,如何设置包含路径和lib路径?

谢谢!

In Java, we have to set Path and classpath in order to run the
programmes correctly. Could anybody tell me how to do this in the C++
world? How to set the include path and lib path if I don''t want to use
any IDE?
Thank you!

推荐答案

tony写道:
tony wrote:

在Java中,我们必须设置Path和classpath才能运行

正确编程。有谁能告诉我如何在C ++

世界中做到这一点?如果我不想使用

任何IDE,如何设置包含路径和lib路径?

谢谢!
In Java, we have to set Path and classpath in order to run the
programmes correctly. Could anybody tell me how to do this in the C++
world? How to set the include path and lib path if I don''t want to use
any IDE?
Thank you!



它不依赖于语言,它取决于编译器,所以你要b / b
必须检查编译器文档才能学习关于

格式的论点。


问候,


Zeppe

It does not depend on the language, it depends on the compiler, so you
have to check the compiler documentation in order to learn about the
format of the arguments.

Regards,

Zeppe


2007年6月19日下午2:22,tony写道:
On 6/19/2007 2:22 PM, tony wrote:

在Java中,我们必须设置Path和classpath以便正确运行

程序。有谁能告诉我如何在C ++

世界中做到这一点?如果我不想使用

任何IDE,如何设置包含路径和lib路径?

谢谢!
In Java, we have to set Path and classpath in order to run the
programmes correctly. Could anybody tell me how to do this in the C++
world? How to set the include path and lib path if I don''t want to use
any IDE?
Thank you!



查看编译器的手册/文档。


S.

-

Stefan Naewe stefan dot naewe at atlas-elektronik dot com

不要顶尖 http://www.catb.org/~esr/jargon/html/T/top-post.html

纯文本邮件,请 http:// www.expita.com/nomime.html


tony写道:
tony wrote:

在Java中,我们必须设置Path和classpath才能正确运行

程序。有谁能告诉我如何在C ++

世界中做到这一点?如果我不想使用

任何IDE,如何设置包含路径和lib路径?
In Java, we have to set Path and classpath in order to run the
programmes correctly. Could anybody tell me how to do this in the C++
world? How to set the include path and lib path if I don''t want to use
any IDE?



在C ++世界中没有等效的&#。 C ++是一种允许你创建_native_应用程序的语言,这意味着你需要设置运行它们的任何环境由托管操作控制

系统。对于编译器也是如此。它就像你的计算机上的任何其他应用程序一样,没什么特别的。为了以

的方式进行设置,它可以为你工作,可能需要一些特殊的步骤,并且

不受语言的约束,而是由编译器控制本身(因为在大多数情况下它是原始应用程序的
a)。请参考

编译器文档,了解设置它所需的所有步骤

正确。


V

-

请在通过电子邮件回复时删除资金''A'

我不回复热门回复,请不要问

There is no equivalent "in the C++ world". C++ is a language that lets
you create _native_ applications, which means that whatever environment
you need to set up to run them is governed by the hosting operating
system. Same for a compiler. It''s just like any other application on
your computer, nothing special about it. In order to set it up in the
way it will work for you some special steps may be required, and that
is NOT governed by the language, but by the compiler itself (since it''s
a native application in the majority of cases). Please refer to the
compiler documentation to learn about all the steps needed to set it up
correctly.

V
--
Please remove capital ''A''s when replying by e-mail
I do not respond to top-posted replies, please don''t ask


这篇关于如何在C ++中设置环境?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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