Solved

what is difference between gcc and g++?

Posted on 2000-05-07
1
560 Views
Last Modified: 2006-11-17
As subject.
Thanks.
0
Comment
Question by:yliu8
1 Comment
 

Accepted Solution

by:
Joe Cool earned 50 total points
ID: 2785888
On a use basis, gcc can't handle C++ style functions.  Early in my Linux days, I only knew gcc  (never had heard of g++), and when I tried to compile a C++ program with it, I had all kinds of problems and errors.  After finding about g++, that program compiled without a hitch.

BTW, g++ can compile anything that gcc can (to my knowledge).
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Written by John Humphreys C++ Threading and the POSIX Library This article will cover the basic information that you need to know in order to make use of the POSIX threading library available for C and C++ on UNIX and most Linux systems.   [s…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question