|
-
Dec 3rd, 2002, 06:27 PM
#1
Thread Starter
Addicted Member
good compiler
what is a good compiler to use for C++? I'm a beginner, so i need something that doesn't automate it too much because i want to learn it. I have Visual C++, but i don't get how it works, probably because i don't really know how C++ works yet. The price doesn't matter...
Last edited by Flip; Dec 4th, 2002 at 09:11 PM.
-
Dec 3rd, 2002, 06:31 PM
#2
Monday Morning Lunatic
Visual C++ 7, or GCC 3.2.1.
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Dec 3rd, 2002, 06:37 PM
#3
Thread Starter
Addicted Member
-
Dec 4th, 2002, 09:58 AM
#4
gcc is the most standards compliant, but for a programming newbie this doesn't really matter. It's not very easy to get to run in windows as it was written for Unix systems.
Visual C++ is not as standards compliant but it comes with a complete IDE. Also the Professional and Enterprise Edition house the best available compiler when it comes to optimizing. In the Standard Edition optimizations are disabled (grrr...!!!!)
The best compiler for Intel-specific optimizing would be the one by Intel, but I don't know about standards compliance.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Dec 4th, 2002, 10:00 AM
#5
Oh, and you shouldn't mention software piracy on such forums. You IP is logged by the mechanism and the forum is open for everyone to read.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Dec 4th, 2002, 10:11 AM
#6
Monday Morning Lunatic
The nice thing about Intel's is that it's a drop-in replacement within MSVC, which is a definite plus if you're using that environment. Otherwise, it's just a compiler like any other.
CB: Standards do have an impact on new users as well, as they rapidly become non-new users 
I never managed to get GCC working natively under Windows, I guess I never managed to understand the all-important "specs" file. Cygwin works very well though.
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Dec 4th, 2002, 02:14 PM
#7
The only person I know who explores the regions where VC++7 fails the standard but gcc does not is keda. And that's not something new users will do for several years.
Didn't know that about Intel's. Maybe I should get it...
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Dec 4th, 2002, 09:13 PM
#8
Thread Starter
Addicted Member
What piracy ??
-
Dec 4th, 2002, 09:27 PM
#9
Guru
Originally posted by CornedBee
In the Standard Edition optimizations are disabled (grrr...!!!!)
Hehe... Microsoft slipped up there. The optimization options are removed from the GUI, but #pragma optimize still works fine.
-
Dec 5th, 2002, 03:17 AM
#10
Monday Morning Lunatic
OMG! man is back!
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Dec 5th, 2002, 06:54 AM
#11
transcendental analytic
yup, we haven't heard the last from our young guru 
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
Dec 5th, 2002, 08:44 AM
#12
Guru
-
Dec 5th, 2002, 03:44 PM
#13
Really? Gotta try this immediatly!
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Dec 5th, 2002, 03:57 PM
#14
Hmmm...
I added this at the top of my cpp file, but the assembly output is not a single line shorter...
#pragma optimize("agt", on)
Are you sure this works?
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Dec 5th, 2002, 04:24 PM
#15
Guru
Originally posted by CornedBee
Hmmm...
I added this at the top of my cpp file, but the assembly output is not a single line shorter...
#pragma optimize("agt", on)
Are you sure this works?
#pragma optimize("gsy", on) worked for me, IIRC. Not sure though 
I don't use Standard edition anymore anyways.
-
Dec 5th, 2002, 04:28 PM
#16
Yeah, I just don't want to pay ~€350 mostly for apps I don't use (VB.NET, VC#, ...) and I don't have a company to buy it for me.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Dec 5th, 2002, 04:29 PM
#17
Seems YDRC...
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|