IDE for C++

W

Web Developer

Hi,

I'm a Java programmer learning C++. What IDE do you recommend for compiling
C++ programs?

Note: Yes, I want the free ones. Is Microsoft Visual C++ free?


Regards
BUD
 
T

Tobias Langner

Web said:
Hi,

I'm a Java programmer learning C++. What IDE do you recommend for
compiling C++ programs?

Note: Yes, I want the free ones. Is Microsoft Visual C++ free?
no, it's not.

if you use linux - you can try kdevelop.

but first you need a free c++ compiler for your platform. gcc might be worth
a look for you.

you get it there:
http://gcc.gnu.org/


for ides i found this on google (keywords: gcc ide win32)
http://www.xraylith.wisc.edu/~khan/software/gnu-win32/ide-and-gui.html

for other compilers, just try google again.
 
G

Greg P.

This is a lengthy one so stick with me...

Web Developer said:
Hi,

I'm a Java programmer learning C++. What IDE do you recommend for compiling
C++ programs?
Use Dev-C++ which comes with the fabulous MinGW (Minimalist GNU GCC Compiler
for Windows) @ http://www.bloodshed.net/dev/devcpp.html
Note: Yes, I want the free ones. Is Microsoft Visual C++ free?
No it isn't. If you do plan on getting it, don't get your hopes up. The IDE
is fine itself, but the compiler sucks (IMHO). Just because it's branded
with M$'s logo doesn't mean something is the best. If you see it, try it,
and want to buy it (ooh a rhyme) - and you have the funds - I would get the
Intel compiler plug-in instead of what comes with it.

===============================

Anyway, the above link is an excellent IDDE (Integrated Development _and_
Debugging Environment) with a superior (again, IMHO) compiler than M$'s.

Once you get your feet on the ground and learn to walk, you may find
yourself using compilers that don't really need IDE's (or you just won't use
the ones that come with them). Some top-notch compilers are listed
below(compilers w/o IDE's, or ones that you most likely won't use the IDE
with):

*Digital Mars: http://www.digitalmars.com (I am an active user of this)

*Borland: http://borland.com/products/downloads/download_cbuilder.html
(Click compiler, I used to love this compiler [older days])

*DJGPP: http://www.delorie.com/djgpp/ (Haven't tried this in a while, but I
like what I remember about it)

*OpenWatcom: http://openwatcom.com (Haven't even tried this yet. I loved the
original that was retired)

You should download a multitude of compilers and then figure out which ones
work well for you (or that seem second nature after a while) and then stick
to that/those.

===============================

There is a separate IDE available for use with Borland's compiler called
VIDE:
http://www.objectcentral.com/downloads.htm

===============================

You can also download TextPad/notepad like utilities that support colored
syntax highlighting and build functionality (for using with numerous
compilers).

*ConTEXT: http://fixedsys.com/context/ (I used it but found some bugs which
deterred me)

*SourceEdit: http://www.brixoft.com/prodinfo.asp?id=1

You may also be aware (due to your java programming) of some other IDE's
that may be sufficient for coding.

===============================

You may also need a reference for the C++ standard library:

*Dinkumware: http://www.dinkumware.com/libraries_ref.html (Notice that C99
is just the standard for what is C)


Good luck! Hope to see you coding soon. The first part of it may be tough
but the rewards are good.
 
W

Web Developer

"Torsten Curdt"
...be prepared to become frustrated. Coming from java
gives you a hard time. If you ever worked with IDEA IntelliJ
or Eclipse all C++ IDEs that I have found so far felt like
real crap. (no refactoring support is the worst)

I'd love to be proven wrong ;)

For Java, I've only used JCreator and JGrasp.

I've just downloaded Dev C++ and it's similar to JCreator in look n feel, so
im happy so far.

Comming from Java, C++ seems to be a "dirty" language to learn. And since
C++ is still very much alive in the IT industry it is valuable to learn it -
and the only reason I am learning it for that matter.

grip so far:

why declare arrays as:

int myArray[100];

because it becomes unclear when declaring multiple arrays:

int a[100], b, c[100];

should b be an array? was it a mistake?


Regards
WD
 
P

Paul Thompson

No it isn't. If you do plan on getting it, don't get your hopes up. The IDE
is fine itself, but the compiler sucks (IMHO). Just because it's branded
with M$'s logo doesn't mean something is the best. If you see it, try it,
and want to buy it (ooh a rhyme) - and you have the funds - I would get the
Intel compiler plug-in instead of what comes with it.

Only nowadays, the reverse is true - VC7.1's compiler is (by all accounts)
pretty good, but the IDE stinks to high heaven!

Paul
 
F

Francesco

Hi,

I'm a Java programmer learning C++. What IDE do you recommend for
compiling
C++ programs?

Note: Yes, I want the free ones. Is Microsoft Visual C++ free?


Regards
BUD

If you use linux you can download the free Kylix from the Borland (90Mb),
it's the equivalent of C++ Builder under Windows.
You can found it at
http://www.borland.com/products/downloads/download_kylix.html
You can see a product tour at http://www.borland.com/kylix/index.html

It's free, but you need to register before...
Checco.
 
M

Matthew Burgess

...be prepared to become frustrated. Coming from java
gives you a hard time. If you ever worked with IDEA IntelliJ
or Eclipse all C++ IDEs that I have found so far felt like
real crap. (no refactoring support is the worst)

There is a CDT plugin for Eclipse that supports C++ compilation using
the GNU tools such as gcc and make, it even supports CppUnit for unit
testing purposes (although only on Linux at the moment). I don't think
there's any refactoring support yet although it is on the cards.

Matt.
 
T

Torsten Curdt

There is a CDT plugin for Eclipse that supports C++ compilation using
the GNU tools such as gcc and make, it even supports CppUnit for unit
testing purposes (although only on Linux at the moment). I don't think
there's any refactoring support yet although it is on the cards.

Yes, I checked on the dev list but I was told the refactoring will
not come anytime soon. Compared to the java features it's still - well,
ages behind ;) ...too bad!
 
G

Greg P.

| Comming from Java, C++ seems to be a "dirty" language to learn. And since
| C++ is still very much alive in the IT industry it is valuable to learn
it -
| and the only reason I am learning it for that matter.

By dirty I think you mean lower-level: yes. But C is "dirtier" than C++ in
that manner. C++ has many additions and changes that aid the developer in
their coding, so learning C++ now may not be as hard as it was back in the
day...

| grip so far:
| why declare arrays as:
| int myArray[100];

I would suggest a book for this topic, possibly Bjarne Stroustrup's The C++
Programming Language. Arrays use the subscript ("[]") operator for
intialization and handling. myArray's first element is a myArray[0] and its
last one is myArray[99].

| because it becomes unclear when declaring multiple arrays:
| int a[100], b, c[100];
|
| should b be an array? was it a mistake?

No, b will be an int. Be careful with arrays for now (until you read up on
them). If you go past their bounds (which are not checked by the C++
standard, but _some_ compilers do) you will overwrite possibly another
program's memory. Look into std::vector<> (or just vector in your book).
It's a resizable array that has methods like begin() and end() to ensure
that your iterator is between the bounds.

BTW, you should start a new thread for this topic (for future
considerations).
 
G

Govindan

Torsten Curdt said:
...be prepared to become frustrated. Coming from java
gives you a hard time. If you ever worked with IDEA IntelliJ
or Eclipse all C++ IDEs that I have found so far felt like
real crap. (no refactoring support is the worst)

I'd love to be proven wrong ;)

I agree with Torsten. C++ IDEs with all the bells and whistle may cost a few
thousand.
For eg MS Visual C++ is not free.
Do a search for "C++ free ide" in some search engine .
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,141
Messages
2,570,817
Members
47,367
Latest member
mahdiharooniir

Latest Threads

Top