Solved

what is difference between gcc and g++?

Posted on 2000-05-07
1
530 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
Comment Utility
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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Templates For Beginners Or How To Encourage The Compiler To Work For You Introduction This tutorial is targeted at the reader who is, perhaps, familiar with the basics of C++ but would prefer a little slower introduction to the more ad…
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…
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.
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

728 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now