LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-09-2008, 02:06 PM   #1
nearownkira
LQ Newbie
 
Registered: Jul 2008
Posts: 3

Rep: Reputation: 0
introduce some basic and free C++ Compiler


I just switched from Windows to Linux, and I need a C++ compiler to do my assignment.My assignment is some "enhanced" version of Hello World Program, so I dont need a very powerful IDE. I know there are a few program like Kdeveloper or using editor like KATE and using CLI, but I dont like that.

I need some linux equivalent of DEV C++ to do my assignment.Is there any out there in the Linux World.Actually I tried to run Dev in WINE, but cannot execute the executable.
 
Old 07-09-2008, 02:19 PM   #2
indienick
Senior Member
 
Registered: Dec 2005
Location: London, ON, Canada
Distribution: Arch, Ubuntu, Slackware, OpenBSD, FreeBSD
Posts: 1,853

Rep: Reputation: 65
Dev-C++ uses gcc and g++ through mingw (Minimalist GNU for Windows).

With Linux, tell us your distribution, and we can tell you how to go about installing the ubiquitous GNU Compiler Collection.

Also, are you trying to compile this enhanced Hello World app for Linux, or for Windows? The reason is they have different binary types (I'm not sure the "proper" term for this) - ELF (Linux), a.out (UNIX), etc.
 
Old 07-09-2008, 02:37 PM   #3
nearownkira
LQ Newbie
 
Registered: Jul 2008
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by indienick View Post
Dev-C++ uses gcc and g++ through mingw (Minimalist GNU for Windows).

With Linux, tell us your distribution, and we can tell you how to go about installing the ubiquitous GNU Compiler Collection.

Also, are you trying to compile this enhanced Hello World app for Linux, or for Windows? The reason is they have different binary types (I'm not sure the "proper" term for this) - ELF (Linux), a.out (UNIX), etc.
I am using Ubuntu 8.04 at the moment. Actually I am taking a 1 semester course on Object-oriented programming with C++ in university.What I means by enhanced version of hello world actually means I need to learn about OO concept like classes, object, inheritance..... in other word, just another hello world program...

Although my university is using Microsoft Visual C++, with my shallow understanding of Linux,I think there are just the same when I compile in Linux.
 
Old 07-09-2008, 02:54 PM   #4
xtracto
LQ Newbie
 
Registered: Jun 2004
Posts: 6

Rep: Reputation: 0
Code::Blocks

You might want to have a look at Code::Blocks IDE

It is similar to Microsoft Visual C++ and works on Windows and Linux.
 
  


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
Is there a free compiler for BASIC Delano_Lucas Programming 2 07-24-2006 05:48 PM
basic compiler ryedunn Programming 5 09-26-2005 11:00 AM
is there a BASIC interpreter/compiler? needforspeed Programming 4 05-01-2005 03:47 PM
quick basic compiler for linux bsengland Linux - General 1 05-17-2004 03:40 PM
best free C++ compiler bobbinbrisco Programming 1 07-22-2001 05:18 PM


All times are GMT -5. The time now is 05:42 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