Welcome to the most active Linux Forum on the web.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 06-16-2004, 07:25 PM   #1
Registered: Sep 2003
Location: in a small town west of Chicago
Distribution: Fedora
Posts: 30

Rep: Reputation: 15
Linux C++ Compiler

I'm taking a beginning C++ class, and in class we are using Visual As a fairly noob linux user, I would like to know what tools I might use to write and compile a C++ program in linux.


Old 06-16-2004, 07:49 PM   #2
Registered: May 2004
Location: At Keyboard
Distribution: Mandrake 10.0, SuSE 9.0
Posts: 114

Rep: Reputation: 15
Check out g++

To write c++ code, I use emacs, any other text editor will do...
Old 06-16-2004, 07:52 PM   #3
Registered: May 2004
Location: At Keyboard
Distribution: Mandrake 10.0, SuSE 9.0
Posts: 114

Rep: Reputation: 15
Also, if you are interested in a good book, I like C++: The Complete Reference by Herb Schildt. I think the current edition is the fourth, published by McGraw-Hill/Osborne.
Old 06-16-2004, 07:54 PM   #4
Senior Member
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
To compile C or C++ code in Linux, use gcc
As for C/C++ editors, you can use any text editor.
Find one you like.

Since you are using Fedora, you can simply install the RPMs.

GCC Myths and Facts

GCC Home Page
Old 06-16-2004, 08:56 PM   #5
Registered: Jun 2004
Location: Central NJ, USA
Distribution: Red Hat / FC2
Posts: 66

Rep: Reputation: 15
Borland BuilderX, it runs whatever g++ compiler and linker you have on your linux setup, and it gives you advanced tracing and debugging and object inspection (though its not a GUI designer). Download the free personal edition.

Old 06-17-2004, 03:37 PM   #6
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
You may also want to have an programming environment - for C++ you can use KDevelop or Anjuta (both usually come on distro's installation cds).


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
checking for C compiler default output... configure: error: C compiler cannot create fiorejm Linux - Software 6 11-12-2009 12:35 PM
how i get C compiler in linux ss100 Linux - Software 2 01-09-2005 11:45 PM
Using C compiler on Linux hopbalt Linux - Newbie 50 08-12-2004 03:40 PM
Is there a Forth compiler for LINUX quinnk Linux - Software 3 06-17-2004 11:07 AM
Compiler conundrum: Which came first, a compiler, or it's source code? fr0zen Programming 21 01-29-2004 04:31 AM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 11:57 PM.

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