FirefoxRocks
Feb 2 2008, 07:58 PM
| | Ok I usually would use Linux to program because there is a compiler (gcc), but I need to use Windows to program for now because of a few unexplained reasons.
I need to find a compiler for Windows that will compile the C language. I have tried Microsoft Visual C++ Express 2008 but I find it to be way too bulky and hard to use. The command-line compiler is similar to gcc I guess, and it creates executable files for Windows, but the compiler in the actual program compiles C++ but not C for some reason. And it will only compile files in projects, not standalone files. In my opinion, this is not such a great product.
Where can I find a free C compiler for Windows?
Second question: How do you program a GUI? It would be nice to have a GUI to run the program, not just command line stuff. |
Comment/Reply (w/o sign-up)
yordan
Feb 2 2008, 08:35 PM
docduke
Feb 2 2008, 08:49 PM
QUOTE(FirefoxRocks @ Feb 2 2008, 12:58 PM)  I need to find a compiler for Windows that will compile the C language. ... Second question: How do you program a GUI? It would be nice to have a GUI to run the program, not just command line stuff. Maybe it's time to consider another language. When Kernighan and Ritchie originally developed C in 1978, it was considered functional, but low level. Now, it is the primary alternative to assembly language. Writing a GUI in it is very error-prone. That is why languages like C++ were developed, but they have complex syntax and a number of "gotchas" that make minor errors very hard to find. I do almost all my programming in Python. It is free, open source and exceptionally easy to learn. It is also licensed so that you can develop software and sell it commercially -- it is not GPLed. It has many GUI Frameworks that will run on Windows and Linux as well. Install the appropriate Python compiler and extensions on your favorite system, and the code you develop on one system will run on others. As an illustration of how Python has major advantages, consider the market application TeleChart. It has a "Developer's Kit" which is intended to be accessed from Visual Basic or Visual C++. I am calling it from Python. My program also spawns GUI subwindows using Tkinter and Python megawidgets. Programming a GUI system in Windows (or Linux for that matter) is very complex, because there are literally thousands of system calls, and mastering them is best avoided by using a toolkit that is adapted to your application. Just mastering the toolkit will require days, if not weeks. Hope this helps!
Comment/Reply (w/o sign-up)
FirefoxRocks
Feb 2 2008, 09:38 PM
Ok I've heard of Python before but do end-users need to download some software before running the software (something like the .NET Framework)? Also, is it possible to develop FREE software with Python, not just commercial software? As for C++, don't you need to learn C before learning C++?
Comment/Reply (w/o sign-up)
docduke
Feb 3 2008, 03:44 AM
QUOTE(FirefoxRocks @ Feb 2 2008, 02:38 PM)  Ok I've heard of Python before but do end-users need to download some software before running the software ...? Also, is it possible to develop FREE software with Python, not just commercial software? As for C++, don't you need to learn C before learning C++? Nothing except what comes with the python installer. It is fully functional as a standalone package. (Of course it requires an operating system.) I just took a look at my Python 2.5 installation. It includes several add-ons, and occupies 49.1 MB on my hard drive. The .msi (compressed) installer of Python 2.5 is just 10.2 MB. If you want one that talks with .NET, IronPython is available. As another alternative, if you want it to generate pure Java code, try Jython. Of course, you can develop free software. Most of the apps are. But you are not forced to. Python used to have a lot of testimonials from people in various businesses. I just did a search and found one: Industrial Light and Magic. There were so many more, including Google, that the Python website has buried them. The original inspiration behind Python was Guido van Rossum. Python is so important to Google that they have currently employed him to extend the development of Py 2.5 to Py 3.0, including extensions that matter very much to them. C++ is a "wrapper" for C. Technically, the C++ engine is a macro processor that takes C++ source code as input, and generates C code, which makes use of a lot of functions from libraries that are used specifically to facilitate higher-level operations for which C++ is intended.
Comment/Reply (w/o sign-up)
yordan
Feb 3 2008, 12:00 PM
The topic starter post was a question about C programming. And I think that C programming is sometimes a must for serviceability purposes. If you write down a program for somebody else, it can be maintained by any guy who learned C programming at school, and there are lots around the world. So, the first step in a self-training plan should really, in my opinion, starting with C on any hardware you have, Windows if it's your current Operating system. When talking with other people in your profession life, first say "I propose you to start developping the thing programming in C", and then you add "a nice alternative would be using Python but I must warn you that I will be the only guy able to help you for future software evolution".
Comment/Reply (w/o sign-up)
docduke
Feb 3 2008, 07:22 PM
QUOTE(yordan @ Feb 3 2008, 05:00 AM)  The topic starter post was a question about C programming. Point granted. And you provided him with multiple links for compilers, which was his first request. Maybe I should have left it at that... But the initial post continued with "Second question: How do you program a GUI?..." Have you ever tried constructing a GUI in C? I actually have, but the effort didn't last very long. Many too many misunderstood structures, incorrect pointers, and other things that are very difficult to find in C, unless you're using and IDE with a debugger, and I haven't found one of those that doesn't cost real money. Have you found a good IDE C system? Your link to DJGPP looks like a possibility, but I've never seen DJGPP before. Is it usable for GUI development? Another possible choice for C is MinGW. I haven't used it for a decade, but it turned up in the google search you posted, and it certainly has a lot of development behind it.
Comment/Reply (w/o sign-up)
yordan
Feb 3 2008, 08:04 PM
QUOTE Maybe I should have left it at that... No, no, please no. And, yes, I muss confess, I just wanted to have fun with polemics. However, your way of thinking is very interesting, I thing it's the best way, looking at the future and looking if things are useful instead of seeing if they are used. and, no, I did not test the C compilers by myself, because I am currently working under AIX so I use gcc or the manufacter's C compiler.
Comment/Reply (w/o sign-up)
rockarolla
Feb 5 2008, 08:44 AM
Well under windows the best is to use the old BCC (Borland) C and C++ compiler...I still have a copy of it - it is compact and proved.
Comment/Reply (w/o sign-up)
tek3D
Dec 15 2008, 04:00 PM
I used Microsoft Visual C++ 2005 and had no problem with it, it created a project for you. Besides, you can program GUI application easily with MFC.
Comment/Reply (w/o sign-up)
Similar Topics
Keywords : programming, c, windows, 2, questions
- Introduction To Programming
(3)
A Few Thoughts On Freelance Programming
Some things I've learned along the way. (9) I've been freelancing my PHP / Web skills for about 8 months now. It seems like every job I
have taken is always much larger than I planned on. About 4 months ago, I answered an ad for Joomla
Tutoring! I get to the website, take a look around and realize that something is very wrong... The
individual that hired me to be a tutor had hired another developer to set up the new Joomla based
site and create a new template for it. Generally speaking, if you are really good at HTML and CSS,
you can create a Joomla template with very little PHP knowledge. At first I was....
What Books/e-books/articles Would You Guys Recommend For Beginners To Programming?
(1) I'm looking to become somewhat knowledgeable in the area of programing one day and would like to
know what some of you "experts" recommend as far as good reads on the subject for beginners.
Thanks.....
Help With Email To SMS
Questions about SMS technology (1) Hi. Do you know of any way to send an e-mail to SMS for free? Btw, my telco does not provide Email
to SMS functionality. Or are there other ways to programmatically send an SMS to someone for free?
Besides that, I have several questions regarding the SMS technology. 1. There are a lot of free
SMS sending websites out there. Do they just rely on the respective telco's Email to SMS
functionality? If not, then how can it be free? 2. How does an international SMS transfer happens?
Example would be someone sending an SMS from US to UK. I know a little about the SMSC a....
Please Help Me Out In Qt Programming In Linux
(2) ppl, i need ur help,.... i have a project to do... we decided on Qt but no1 in my group knows about
it... so please ppl can u find project sources ot even tutorials... Actually i m doin a proj on
library management so if u can help even in just basic layout n connection wid forms... you can
even contact me @ whihathac_AT_hotmail_DOT_com....
How Long Have You Been Programming ?
(101) Lets start this thread and find out more about our coding roadmap! The first code I ever wrote was
on a BBC Micro Computer that came with its on embedded ROM-OS and ROM-BASIC - this was when I was in
my 5th grade (1990-91). It was pretty powerful for those times, offering decent 16-color graphics
and a powerful sound engine behind it (using normal computer speakers) - that PCs never achieved.
In about an year or so, I shifted over to PCs coz the lack of applications for the BBC Micro was
getting to me (all appz for it had to be either written in Assembly or that ROM ....
Looking for programming, c, windows, 2, questions
|
See Also,
*SIMILAR VIDEOS*
Searching Video's for programming, c, windows, 2, questions
|
advertisement
|
|