Thursday, July 30, 2009

Program for C programing?

I just bought a book to learn how to program in C, and I am looking for a free program (with a C compiler) to write the code... I am running Windows Xp...

Program for C programing?
GCC is a very good C/C++ compiler, and it's free! GCC is for Linux but it has been adapted to windows in many ways. A good example in this case is the mingw compiler. You can download only this compiler and edit the code with any text editor, or if you prefer "all included" a solution is dev-cpp. Download from here:
Reply:Get the GCC compiler and Eclipse. Eclipse is a quite nice development environment that includes a nice debugger.
Reply:How about notepad.
Reply:I second the gcc (gnu c compiler) suggestion.


avaliable at:


http://gcc.gnu.org/





Also for editing, the traditional unix editor is vi. There is a


pc version called gvim. It's free too.


http://www.vim.org/


vi is not a word processor type editor but for programming


I think it is much more useful. Might take some time to


learn though.
Reply:Um, do you want to learn to program XP in C/C++? Try downloading Microsoft Visual C++ 2005 Express from Microsoft's web site. It's free. You'll like the IDE which has many text editing features and a debugger - you will need the debugger.


Outside of that, Borland and Microsoft (again) have command-line Windows compilers and linkers free too. No IDE or debugger though.





If you get Express, you'll have to read about making Windows console programs in the on-line help file. It isn't exactly the same as programming under DOS. At least when you move up to Windows GUI programming, you won't need to get and learn another compiler.

lady palm

No comments:

Post a Comment