Why do all the compilers I try fail?

C

Crazy Carl

I have tried to you so many compilers and none of them seem to work
properly. Can anyone tell me if it's me, my computer or something else?
What does everyone else use?

?...

Crazy Carl
 
A

Andre Kostur

I have tried to you so many compilers and none of them seem to work
properly. Can anyone tell me if it's me, my computer or something else?

It's you.
What does everyone else use?

A compiler for the target platform. Ask on a newsgroup specific to your
operating system and hardware....
 
V

Viktor Prehnal

Crazy said:
I have tried to you so many compilers and none of them seem to work
properly. Can anyone tell me if it's me, my computer or something else?
What does everyone else use?

?...

Crazy Carl
How about make the question more concrete? :D
 
H

hacker++

Crazy said:
I have tried to you so many compilers and none of them seem to work
properly. Can anyone tell me if it's me, my computer or something else?
What does everyone else use?

Their brains.
 
C

Crazy Carl

I'm trying to learn c++ but no one seems very helpful. I tried reading
the books and learning it that way but I can't try any of the examples
because they wrote the examples for a specific compiler and they don't
work on any other. I'm trying the tutorials which are supposed to teach
the standard but even some of their examples don't work. I'm not old
enough to go to the classes at the collages and universities. I'd like
to know what compilers you use as well as how you went about learning
the language (What books you used, things you tried to do as you were
learning the language, etc.). Any non-derogatory advice would be
helpful. Pickin' on the noobs ain't nice...
 
D

Dirk Bruere at Neopax

Crazy said:
I'm trying to learn c++ but no one seems very helpful. I tried reading
the books and learning it that way but I can't try any of the examples
because they wrote the examples for a specific compiler and they don't
work on any other. I'm trying the tutorials which are supposed to teach
the standard but even some of their examples don't work. I'm not old
enough to go to the classes at the collages and universities. I'd like
to know what compilers you use as well as how you went about learning
the language (What books you used, things you tried to do as you were
learning the language, etc.). Any non-derogatory advice would be
helpful. Pickin' on the noobs ain't nice...

Download the Borland compiler. It used to be state of the art, but it's still
good for playing around with C++
http://www.borland.com/downloads/download_cbuilder.html

--
Dirk

The Consensus:-
The political party for the new millenium
http://www.theconsensus.org
 
D

Dirk Bruere at Neopax

Crazy said:
I do have an older Borland compiler, but if you think this one would
help I'll try it...

Crazy Carl

There should be no reason why the old one would not work.
I use 5.5 under XP for syntax checking and debugging before I transfer it to
realtime dev. Got it from the download page.

--
Dirk

The Consensus:-
The political party for the new millenium
http://www.theconsensus.org
 
J

JustBoo

I do have an older Borland compiler, but if you think this one would
help I'll try it...
Crazy Carl

If you have the Borland C++ 4.5 or anything newer that should be
enough to get you started. Take note that older compilers used the
old header naming convention.

Example: #include <string>
You will use #include<string.h>.

If you have Borland Builder C++ even better. You should have help
files and they should show which headers to use.

If you are stating out examples can be quite confusing. A challange
will be to figure out nuances like above.

Good Luck.

On a side note has anyone ever made a "usable* IDE for the Borland
C++ 5.5 compiler?
 
B

BobR

Crazy Carl wrote in message
I do have an older Borland compiler, but if you think this one would
help I'll try it...

Crazy Carl


Hi Crazy Carl,

[ my suggestions ]

First thing, download and install this.
Dev-C++ IDE: http://www.bloodshed.net/
Get the package that has MinGW (the windows port of GCC (GNU Compiler
Collection)).


Alternate IDEs that will work with the DevCpp GCC(MinGW) installation:
MinGWStudio http://www.parinyasoft.com/
V IDE & V GUI: http://www.objectcentral.com/
Quincy IDE 2005 : http://pipou.net/down/Quincy2005Project.zip
www.gnu.org

Read the docs that come with DevCpp (in the 'help' menu.
 
B

BobR

Forgot to add this to other post:

You might find this site interesting.

www.BruceEckel.com -> Books -> "Thinking in C++, vol. 1"
(since it only costs $(a download))

Two heads are better than one, and so are two books!

Note: This is NOT a programming beginner book, but, it has many good examples
to try out. It won't hurt you to read it along with your other books.
 
S

Shane

Forgot to add this to other post:

You might find this site interesting.

www.BruceEckel.com -> Books -> "Thinking in C++, vol. 1"
(since it only costs $(a download))

Two heads are better than one, and so are two books!

Note: This is NOT a programming beginner book, but, it has many good examples
to try out. It won't hurt you to read it along with your other books.

Heh, I downloaded those two books a week back (Thanks to someone in #c++
on freenode for the reference)
I whole heartedly recommend them! I have no problems with the examples
(g++ on linux) and I have finally grasped some concepts my previous
hackish attempts failed to understand
It *is* heavy going though, but worth the effort (Im wishing I had found
these books some time ago)
 

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,430
Messages
2,571,676
Members
48,796
Latest member
Greg L.

Latest Threads

Top