LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 06-16-2004, 08:25 PM   #1
hopmedic
Member
 
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 Studio.net. 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.

Thanks,

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

Rep: Reputation: 15
Check out g++

http://www.gnu.org/directory/GNU/gpp.html
http://gcc.gnu.org/
http://www.cs.wm.edu/cspages/computi...orial/gpp.html


To write c++ code, I use emacs, any other text editor will do...
 
Old 06-16-2004, 08:52 PM   #3
meblost
Member
 
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, 08:54 PM   #4
Mathieu
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
http://freshmeat.net/articles/view/730/

GCC Home Page
http://www.gnu.org/software/gcc/
 
Old 06-16-2004, 09:56 PM   #5
deanbrown3d
Member
 
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.

DeanB
 
Old 06-17-2004, 04:37 PM   #6
Mara
Moderator
 
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).
 
  


Reply


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 01:35 PM
how i get C compiler in linux ss100 Linux - Software 2 01-10-2005 12:45 AM
Using C compiler on Linux hopbalt Linux - Newbie 50 08-12-2004 04:40 PM
Is there a Forth compiler for LINUX quinnk Linux - Software 3 06-17-2004 12:07 PM
Compiler conundrum: Which came first, a compiler, or it's source code? fr0zen Programming 21 01-29-2004 05:31 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 01:12 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration