Needin' a C Compiler? Check out MingW & lcc-win32

  • Thread starter Thread starter Math Is Hard
  • Start date Start date
  • Tags Tags
    Compiler
Click For Summary

Discussion Overview

The discussion revolves around the selection of C compilers for a programming course, with participants sharing recommendations and personal experiences. The conversation touches on various compilers, the transition from C to C++, and the educational context surrounding programming languages.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested
  • Meta-discussion

Main Points Raised

  • One participant seeks recommendations for C compilers, mentioning MingW and lcc-win32 as options.
  • Another participant suggests Borland C++, Dev C++, and Comeau, advocating for Dev C++ due to its lighter resource usage.
  • Multiple links to various compilers are provided by a participant, indicating a wide range of options available.
  • A participant explains their transition from Visual Studio to C, citing a lack of a license and a requirement to take a C course before C++.
  • Concerns are raised about the educational focus on C versus C++, with some participants noting that many students are advised to learn C++ independently.
  • There is a discussion about the relevance of C in the software industry, with differing opinions on the necessity of learning C versus C++.
  • One participant reflects on the teaching of programming languages in their school, mentioning the prevalence of Java and self-study requirements for advanced topics.
  • Another participant expresses confusion about the relationship between the software industry and the programming languages taught in schools.

Areas of Agreement / Disagreement

Participants express a variety of opinions on the best compilers and the importance of C versus C++. There is no clear consensus on the superiority of one language or compiler over another, and the discussion remains unresolved regarding the educational approaches to teaching these languages.

Contextual Notes

Participants mention various compilers and their experiences, but there are no definitive conclusions about which compiler is best suited for beginners. The discussion reflects differing educational practices and personal preferences without resolving the complexities of language choice in programming education.

Math Is Hard
Staff Emeritus
Science Advisor
Gold Member
Messages
4,663
Reaction score
36
Hi there,
I am taking a C programming course this summer and I am looking around for a compiler.
I have used Visual Studio in the past but I don't need anything quite that elaborate. The recommendations I've gotten are for:
MingW
http://www.mingw.org/
and lcc-win32
http://www.cs.virginia.edu/~lcc-win32/

what do y'all think about these? anything else I might look into?

Thanks!
 
Computer science news on Phys.org
How about Borland C++, Dev C++, and there is also Comeau for free on the net
Choosing Dev C++, I personally think, is much better as it is not so "heavy" as others for download and memory consumption after installed.
I have two questions as to why you stopped using Visual studio, and why you now change back to C but not go on with C++ ?
 
Last edited by a moderator:
Thanks for the advice. Now that I think about it, I can see how my post did look kinda weird! :biggrin:
I don't have a Visual Studio license anymore. I used it at my previous job, where we all had licenses, but I don't have a licensed copy where I am at now.
Why I am doing C: the C++ was just some stuff we did in beginning computer science class. (our teacher ran out of things to talk about so he decided to just give us programming assignments!) At the school I am at now they require you to take a C class before you're allowed to take C++, so here I am!
I just installed the lcc-win32 and I am messing around with that a little bit. So far I am really confused, but I have barely looked at the documentation.
 
Dang! Thanks for that plethora of compilers! Wow - who knew!?
 
Well, you are lucky to study in that school, there are some here I know having no C++ courses. C++ is what students are always advised to teach themselves. C is the language to be taught in class.
I have heard that from many friends of mine in other schools..<smila>
 
Pattielli said:
Well, you are lucky to study in that school, there are some here I know having no C++ courses. C++ is what students are always advised to teach themselves. C is the language to be taught in class.
I have heard that from many friends of mine in other schools..<smila>

That's a shame because almost all the work I see in the software industry is with object oriented programs like C++ and Java.

Pete
 
I am really confused! Is software industry what I was talking about ?
Yes, although students are taught about C, but who doesn't know C++ ? I think, they work much better with C++ than with C. (Because as I already said, they are all advised to teach themselves C++, actually it also depends on schools, there are some that will have C++/ API/ Winprogramming courses, whereas some only have Delphi, C, and introductions about OOP. Most of the schools throughout the country have Java courses, and the students will be taught much more about it when they take Software Engineering Course (OOP, Java and Internet, JSP, JavaBeans, architectures, SOAP, etc), in SoftEng courses, again, it also depends on each school, of whether professors will ask students to learn more about java or C++, but I think Java is chosen most, because it always, as many people know, goes quite well with "Networking" term. Microsoft dot Net is also being also taken into consideration, it is just in a beginning stage, I amnot sure about this though, but I think even when it is not brought into popularity in colleges, students still go search and teach themselves). That is some information I have been told about...(I am just another "listener", things might change in different other ways, who knows ?)
C (and Delphi) is/are the first language(s) for students to learn here, and second Java and an able-to-teach-yourself-language VB, which is not oftenly used because of its ease to learn and acutally not having as much challenges for students as C/C++ and Java . A friend of mine who studies in the South of the country said she uses VB, MVC++, openGL for her research projects only.

Another point, programming languages taught I think are just about 3 or 4 for freshmen and sofomores, and when they go up to 3rd and 4th year they have to search and teach themselves any other things that they like to learn, and when their last college year comes, they may have to teach themselves some other things that meet their need in their projects for graduation. And again, it is a self-study all the time...

Although lots of people I have met usually refuse C of the old days, I still see there are lots of applications made by students in CS department of my school, and which is mostly programmed using C language (micro, Tk, CPU, chips etc-related projects) whenever I go listen to the presentations of 3 or 4 year students.
>>>Just a thought poping up in my head right now: I think C language is getting older these days but things go from the past to the present and future, i admit that I learn C++ easier after i already know something basic about C first, don't know though, but perhaps it is because i started first with C whose syntax of memory allocation, string manipulation etc, i guess, are now partially erased from my memory. Is that good ? I am still wondering...
 
Last edited:

Similar threads

  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 0 ·
Replies
0
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 17 ·
Replies
17
Views
4K
  • · Replies 25 ·
Replies
25
Views
15K
  • · Replies 2 ·
Replies
2
Views
6K
  • · Replies 26 ·
Replies
26
Views
5K
  • · Replies 39 ·
2
Replies
39
Views
5K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 3 ·
Replies
3
Views
3K