Staredit Network > Forums > Technology & Computers > Topic: Best Compiler?
Best Compiler?
Feb 14 2011, 10:36 pm
By: samsizzle  

Feb 14 2011, 10:36 pm samsizzle Post #1



I started reading some of my dads programming books, particularly "The C Programming Language" and I wanted to know which Compiler I should use. Or if I should even be learning C... I have pretty much no experience with programming except for a couple web pages I made a really long time ago. Any advice/experience is greatly appreciated.



None.

Feb 14 2011, 10:41 pm Decency Post #2



Microsoft Visual Studio is the norm. If you're at a university with an MSDN license you can get it for free.

I don't know of any free ones offhand except for Linux, which I doubt you're using.



None.

Feb 15 2011, 12:02 am Lanthanide Post #3



Free IDE with built in compiler: http://www.bloodshed.net/

Your dad's book might be really really old. Back before 1995 or so (even up till about 2000 really), not all C compilers created the same output - some were more efficient, some even had bugs, and there were different features supported by some compilers and not others. But since about 2000, any C compiler that you use will be about as good as any other. So older books tend to be written for specific compilers, or talk about differences between compilers, but for the most part none of that really matters any more - at least not for personal hobby things. If you were running an actual business making software, then it might be of small importance.

These days it's much more up to what IDE you use, but bloodshed there is very simple and free, and comes with a compiler all ready to use.



None.

Feb 15 2011, 1:37 am Centreri Post #4

Relatively ancient and inactive

There are a ton of good heavy compilers, like Visual Studio, Eclipse, Netbeans, etc. If you end up programming professionally, you'll use them. For small programs where you're just learning, you'd do better with a smaller, simpler compiler - I use Quincy for my class. It's very light on features, but you don't come across any weird issues like the compiler requiring more included libraries or anything along those lines.

Post has been edited 1 time(s), last time on Feb 15 2011, 1:49 am by Centreri.



None.

Feb 15 2011, 1:52 am Jack Post #5

>be faceless void >mfw I have no face

Visual studio C++ Express is free and has the added bonus of the drag and drop WYSIWYG editor for making menus and programs. Netbeans and Eclipse work on linux, mac, AND windows, and the full version is free (AFAIK). C++ is probably the best language to learn at the moment, and once you've got the basics down you can look at .NET stuff and C#.



Red classic.

"In short, their absurdities are so extreme that it is painful even to quote them."

Feb 15 2011, 2:04 am Centreri Post #6

Relatively ancient and inactive

Also, why are you trying to learn to program? If it's just a hobby, take a look at Python; it's funner to program in. If you're preparing for a career in computer science or programming, I suppose some experience wouldn't hurt. Though, again, something like Python might help because it's easier to learn and will help understand key concepts. C's just frustrating while you're learning the syntax and standards.



None.

Feb 15 2011, 2:11 am Ahli Post #7

I do stuff and thingies... Try widening and reducing the number of small nooks and crannies to correct the problem.

Quote from Centreri
Also, why are you trying to learn to program? If it's just a hobby, take a look at Python; it's funner to program in. If you're preparing for a career in computer science or programming, I suppose some experience wouldn't hurt. Though, again, something like Python might help because it's easier to learn and will help understand key concepts. C's just frustrating while you're learning the syntax and standards.
That's why Java is the only object oriented language lectured in programming at universities... :clap:
I've never programmed in python :S only java and c++ which was confusing with pointers.

edit:
at least in Germany there is Java everywhere... you learn a bit Scheme, Haskell, too. I was in 2 different programming classes because I've changed my major and both were focused on Java.

Post has been edited 1 time(s), last time on Feb 15 2011, 2:25 am by Ahli.




Feb 15 2011, 2:13 am Centreri Post #8

Relatively ancient and inactive

Since I've had two classes covering C and none covering Java except in High School, I'd disagree.



None.

Feb 15 2011, 2:24 am Lanthanide Post #9



C isn't object oriented.



None.

Feb 15 2011, 2:28 am Centreri Post #10

Relatively ancient and inactive

.. Really? Ah. Objection withdrawn.



None.

Feb 15 2011, 2:53 am O)FaRTy1billion[MM] Post #11

👻 👾 👽 💪

I use gcc. It comes pre-installed with Dev-c++ (which was mentioned earlier from bloodshed.net) if you want to use an IDE and not bother with most of the command-line stuff.

I don't like Visual Studios. Too much garbage and it's very disorganized and redundant ... Also the programs it produces are very large and heavy and require large external libraries to run in the first place (MSVCR##, or .NET frameworks :X).



TinyMap2 - Latest in map compression! ( 7/09/14 - New build! )
EUD Action Enabler - Lightweight EUD/EPD support! (ChaosLauncher/MPQDraft support!)
EUDDB - topic - Help out by adding your EUDs! Or Submit reference files in the References tab!
MapSketch - New image->map generator!
EUDTrig - topic - Quickly and easily convert offsets to EUDs! (extended players supported)
SC2 Map Texture Mask Importer/Exporter - Edit texture placement in an image editor!
\:farty\: This page has been viewed [img]http://farty1billion.dyndns.org/Clicky.php?img.gif[/img] times!

Feb 15 2011, 3:14 am ClansAreForGays Post #12



Quote from Lanthanide
C isn't object oriented.
I thought it was now.




Feb 15 2011, 3:20 am Jack Post #13

>be faceless void >mfw I have no face

Quote from ClansAreForGays
Quote from Lanthanide
C isn't object oriented.
I thought it was now.
C++ is object oriented. C isn't.



Red classic.

"In short, their absurdities are so extreme that it is painful even to quote them."

Feb 15 2011, 3:22 am Centreri Post #14

Relatively ancient and inactive

We haven't gone into enough details for me to really distinguish that far. However, since I'm in a course that promises to teach C/C++, if C++ is object oriented, then Ahli's point is still false.



None.

Feb 15 2011, 4:40 am Roy Post #15

An artist's depiction of an Extended Unit Death

Quote from O)FaRTy1billion[MM]
Also the programs it produces are very large and heavy and require large external libraries to run in the first place (MSVCR##, or .NET frameworks :X).
I disagree with the former and agree with the latter.

By the way, Visual Studio 2010 is $12,000 :massimo:




Feb 15 2011, 4:43 am Lanthanide Post #16



C++ and C# are OO.

Your course may or may not actually teach you C++. It is common for courses to say "C/C++" but really it's just C. Or C with a light smattering of C++ such that it doesn't really count as C++.

At my uni the introductory language was Java, because the syntax is much easier to get a grip on and you don't have to worry about memory management, so it's much easier to focus on the concepts without worrying about the syntax and implementation. Then in 2nd year we had a course on C. After that there weren't really any courses whose purpose was to teach you a language, although some courses uses other languages (scheme, hugs, SQL, openGL etc).

C++ has much messier syntax and you have to do all your own memory management. I don't even know C++, and I've been working as a professional C developer for 5 years now.

Really C++ isn't used as much as it used to be. All of the embedded systems stuff (what I do) is written in C because it's lightweight and powerful and you don't need what C++ brings to the table. Many large client-side applications are now written in Java or in C#, whereas in the past they might have been in C++. A lot of stuff is now developed for smart phones or is web-based, which you don't use C++ for either. Apple uses Objective C, which apparently is a bunch of bolt-ons for C to make it at least somewhat object oriented, but it still is fundamentally C rather than C++.



None.

Feb 15 2011, 12:54 pm ShadowFlare Post #17



Quote from Roy
By the way, Visual Studio 2010 is $12,000 :massimo:
Only if you get the expensive version that is actually a multi-user license (I don't know how many users). IIRC, standard single-user pricing for a new version of Visual Studio is typically $300 for standard edition and $800 for professional edition (or maybe it was $500; not sure). Of course, there are also the free single-language express editions, which are still fairly full-featured.

If you are student, you may be able to get the professional edition for free, either through MSDNAA (if your school is subscribed) or through DreamSpark (need a .edu e-mail address, IIRC. may have alternate means of verification).

Post has been edited 1 time(s), last time on Feb 15 2011, 1:03 pm by ShadowFlare.



None.

Feb 15 2011, 3:55 pm O)FaRTy1billion[MM] Post #18

👻 👾 👽 💪

I got VS 6, 2003, and 2008 through MSDNAA. :awesome:

Quote from Roy
Quote from O)FaRTy1billion[MM]
Also the programs it produces are very large and heavy and require large external libraries to run in the first place (MSVCR##, or .NET frameworks :X).
I disagree with the former and agree with the latter.
.NET applications are especially bad. How are those not large, heavy, or slow?



TinyMap2 - Latest in map compression! ( 7/09/14 - New build! )
EUD Action Enabler - Lightweight EUD/EPD support! (ChaosLauncher/MPQDraft support!)
EUDDB - topic - Help out by adding your EUDs! Or Submit reference files in the References tab!
MapSketch - New image->map generator!
EUDTrig - topic - Quickly and easily convert offsets to EUDs! (extended players supported)
SC2 Map Texture Mask Importer/Exporter - Edit texture placement in an image editor!
\:farty\: This page has been viewed [img]http://farty1billion.dyndns.org/Clicky.php?img.gif[/img] times!

Feb 15 2011, 6:40 pm ShadowFlare Post #19



You can link the C/C++ runtime into the program in a way that it does not need the dll. Using the dll is just the default, for various reasons.



None.

Feb 15 2011, 9:09 pm samsizzle Post #20



I mostly just want to get as much experience as possible so I can decide exactly which sort of field I want to go in... I guess what I'm asking is which language would give me the most opportunities?



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[03:27 am]
m.0.n.3.y -- Maybe because it's an EUD map?
[03:27 am]
m.0.n.3.y -- Can't upload maps to the DB. Error says "The action you have performed caused an Error". Any word?
[07:46 am]
RIVE -- :wob:
[2024-4-22. : 6:48 pm]
Ultraviolet -- :wob:
[2024-4-21. : 1:32 pm]
Oh_Man -- I will
[2024-4-20. : 11:29 pm]
Zoan -- Oh_Man
Oh_Man shouted: yeah i'm tryin to go through all the greatest hits and get the runs up on youtube so my senile ass can appreciate them more readily
You should do my Delirus map too; it's a little cocky to say but I still think it's actually just a good game lol
[2024-4-20. : 8:20 pm]
Ultraviolet -- Goons were functioning like stalkers, I think a valk was made into a banshee, all sorts of cool shit
[2024-4-20. : 8:20 pm]
Ultraviolet -- Oh wait, no I saw something else. It was more melee style, and guys were doing warpgate shit and morphing lings into banelings (Infested terran graphics)
[2024-4-20. : 8:18 pm]
Ultraviolet -- Oh_Man
Oh_Man shouted: lol SC2 in SC1: https://youtu.be/pChWu_eRQZI
oh ya I saw that when Armo posted it on Discord, pretty crazy
[2024-4-20. : 8:09 pm]
Vrael -- thats less than half of what I thought I'd need, better figure out how to open SCMDraft on windows 11
Please log in to shout.


Members Online: Roy