Linux编程,有没有C ++? [英] Linux programming, is there any C++?

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

问题描述



我是Linux新手,我已经开始下载应用程序和

安装它们。应用程序作为源代码分发在

" .tar.gz"文件。你解压缩文件,导航到目录,运行

" configure",然后运行make,然后运行make install。


无论如何,在我见过的所有程序中,只有.c文件和

看起来只有gcc被调用过。 Linux社区中的人是否b $ b不使用C ++并在.tar.gz中分发他们的源代码?


-
$ b $bTomásóhéilidhe


I''m kind of new to Linux and I''ve started downloading applications and
installing them. Applications are distributed as source code in a
".tar.gz" file. You unzip the file, navigate to the directory, run
"configure", then run "make", then run "make install".

Anyway, in all the programs I''ve seen, there''s only ever been .c files, and
it looks like only gcc has been invoked. Do people in the Linux community
not use C++ and distribute their source in ".tar.gz"?

--
Tomás ó héilidhe

推荐答案

Tom ?? s ?? h ?? ilidhe写道:

Tom??s ?? h??ilidhe wrote:


我是Linux的新手,我已经开始下载应用程序和

安装它们。应用程序作为源代码分发在

" .tar.gz"文件。你解压缩文件,导航到目录,运行

" configure",然后运行make,然后运行make install。


无论如何,在我见过的所有程序中,只有.c文件,

,看起来只有gcc被调用过。 Linux中的人们不会使用C ++并在.tar.gz中分发他们的源代码吗?
I''m kind of new to Linux and I''ve started downloading applications and
installing them. Applications are distributed as source code in a
".tar.gz" file. You unzip the file, navigate to the directory, run
"configure", then run "make", then run "make install".

Anyway, in all the programs I''ve seen, there''s only ever been .c files,
and it looks like only gcc has been invoked. Do people in the Linux
community not use C++ and distribute their source in ".tar.gz"?



他们这样做。许多库都是用C语言编写的,因此可以更方便地使用

其他语言。

They do. Many libraries are written in C, so they can be easier used with
other languages.


2008年2月16日星期六16:09:27 GMT,

" =?iso-8859-1?q?Tom = E1s_ = D3_h = C9ilidhe?="写道:
On Sat, 16 Feb 2008 16:09:27 GMT,
"=?iso-8859-1?q?Tom=E1s_=D3_h=C9ilidhe?=" wrote:

> Linux社区中的人们不使用C ++并在.tar.gz中分发他们的源代码吗?
>Do people in the Linux community
not use C++ and distribute their source in ".tar.gz"?



C ++从未在Unix世界中占有太大的分量,因为它违反了基本的Unix哲学原理:
http://www.catb.org/~esr/writings/ta ... l / ch01s07.html

-

Roland Pibinger

最好的软件简单,优雅,充满戏剧性的 - Grady Booch

C++ never had much weight in the Unix world because it violates the
basic Unix philosophy:
http://www.catb.org/~esr/writings/ta...l/ch01s07.html
--
Roland Pibinger
"The best software is simple, elegant, and full of drama" - Grady Booch


Tomásóhéilidhe写道:
Tomás ó héilidhe wrote:

我是Linux和我的新手''已经开始下载应用程序了,并且

安装它们。应用程序作为源代码分发在

" .tar.gz"文件。你解压缩文件,导航到目录,运行

" configure",然后运行make,然后运行make install。


无论如何,在我见过的所有程序中,只有.c文件和

看起来只有gcc被调用过。 Linux社区中的人们是否b $ b不使用C ++并在.tar.gz中分发他们的源代码?
I''m kind of new to Linux and I''ve started downloading applications and
installing them. Applications are distributed as source code in a
".tar.gz" file. You unzip the file, navigate to the directory, run
"configure", then run "make", then run "make install".

Anyway, in all the programs I''ve seen, there''s only ever been .c files, and
it looks like only gcc has been invoked. Do people in the Linux community
not use C++ and distribute their source in ".tar.gz"?



C和Unix一起有很多历史。 C是专门发明的用于编写Unix的b $ b,并且仍然是链接目标文件的通用语言

从不同的源语言编译。

C and Unix have a lot of history together. C was invented specifically
to write Unix, and remains the lingua franca for linking object files
compiled from different source languages.

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

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