defference c++ and g++

Any other programming language that is not covered in the Web Scripting category.

defference c++ and g++

Postby noizy on Tue Apr 18, 2006 1:00 am

what are the defferent between c++ and g++? anybody can xplaine it to me? thanx Smile
Smile
noizy
Contributer
Contributer
 
Posts: 48
Joined: Mon Apr 17, 2006 11:06 pm
Location: philippines

Postby selket on Tue Apr 18, 2006 1:04 am

c++ is a language. g++ is one of many compilers for the c++ language
selket
Contributer
Contributer
 
Posts: 44
Joined: Sat Apr 15, 2006 11:59 pm
Location: Chicago, IL

Postby Rommaster on Tue Apr 18, 2006 2:36 pm

Google can explain.. Confused
SwiftIRC - irc.swiftirc.net - #phoenix
Phoenix-Network

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
(" )_(" ) signature to help him gain world domination.
Rommaster
Phoenix Veteran
Phoenix Veteran
 
Posts: 960
Joined: Thu Mar 10, 2005 1:05 pm
Location: The Netherlands

Postby pcweirdo on Wed Apr 26, 2006 11:51 am

I don't have a Linux development environment on me right now, but I vaguely recall that c++ is also the name of one of the symlinks to gcc in some Linux distributions. 'cpp' and (less likely) 'cxx' might be others.

So as far as "c++" and "g++" are names of commands, there is no difference.

However, I sense this was not your question. Kudos to selket for his answer.

-pcweirdo.
I love logic, therefore a polar bear is gay and I am the President. Or I'm thinking too much. I love this website.
pcweirdo
Contributer
Contributer
 
Posts: 58
Joined: Mon Aug 29, 2005 11:26 pm
Location: Melbourne, Australia

Postby ndl on Sat Apr 29, 2006 4:50 pm

It's as selket said: c++(cpp) is a language and g++(gcc) is a kompiler for c++.
ndl
Newbie
Newbie
 
Posts: 5
Joined: Sat Apr 29, 2006 4:33 pm

Postby gls on Wed Aug 16, 2006 6:29 am

Twisted Evil Actually on UNIX boxes it is a little more than all of that.

The command c++ is usually the native C++ language compiler from the vendor. This could be a proprietary version of the tool (Sun used to license their compilers and development tools).

Now g++ is the GNU C++ compiler, usually known as g++. This is just one component of the GCC project (GNU Compiler Collection)

http://www.gnu.org/software/gcc/
gls
Contributer
Contributer
 
Posts: 28
Joined: Wed Aug 16, 2006 4:30 am
Location: Chicago, IL


Return to Programming

Who is online

Users browsing this forum: No registered users and 1 guest

cron