Solved

what is difference between gcc and g++?

Posted on 2000-05-07
1
550 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: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

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

Title # Comments Views Activity
Find boost header files using gnu make (MinGW) on Win 7 11 95
How to split this in C++ 4 106
Path to  STL Map header file 1 68
Installshield for Embarcadero EX 10.1 Berlin 4 59
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…
This article shows you how to optimize memory allocations in C++ using placement new. Applicable especially to usecases dealing with creation of large number of objects. A brief on problem: Lets take example problem for simplicity: - I have a G…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
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.

792 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