LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-03-2005, 12:05 AM   #1
JudasMaccabeus
LQ Newbie
 
Registered: Nov 2005
Posts: 1

Rep: Reputation: 0
Free C++ Compiler?


Hi everyone!
Im new to Linux, currently running Mandrake 10, and im interested in learning C++ programming but I dont know where to download a free compiler, or if Linux comes with one. Thanks for the info guys.
 
Old 11-03-2005, 12:14 AM   #2
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
g++
 
Old 11-03-2005, 12:28 AM   #3
scuzzman
Senior Member
 
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851

Rep: Reputation: 47
Quote:
Originally posted by adz
g++
To elaborate on this a bit, most Linux distros come with the GNU C++ compiler, G++. You can use this to compile your C++ code with this command:
Code:
g++ filename.cpp -o exe_file
If you type g++ and get no response, you need to install your distro's development packages.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Free C++ Compiler? BrutualTarget Programming 13 08-22-2004 04:04 PM
Free C/C++ Compiler for Windows? testforechozero Programming 6 08-19-2004 09:29 PM
Free C++ Compiler leroy27336 Programming 10 11-13-2003 09:14 PM
free c/c++ compiler w/ directx/opengl js_530 Programming 9 07-27-2003 02:33 PM
best free C++ compiler bobbinbrisco Programming 1 07-22-2001 04:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration