Re: learning C without an IDE



Jujitsu Lizard wrote, On 02/12/08 05:56:
"darren" <minofifa@xxxxxxxxx> wrote in message
news:357ca0c5-ed2a-4325-a596-98a669326620@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

If you want to use Windows, if i remember correctly MinGW and Visual C+
+ from Microsoft are the two major free compilers. Once you have them
installed you can compile sourcecode from the command line. As already
mentioned, choose the compiler you wish to use, then read its
documentation to learn how to compile with it.

Microsoft Visual C++ has been everything from $299 to $99 to free over
the years.

I'm too lazy to look up if the basic version is free these days.

I'll save you the trouble. There is a version available free (IIRC you
cannot use it for commercial purposes) and has been for at least a few
versions and a number of years. The only reason I don't have the free
version is because I have an MSDN subscription on the company...

But I forgot all about that.

And MinGW? Never heard of that in Lizardland.

gcc (and other nix type tools) for Windows. It is (I think) short for
Minimalistic GNU for Windows. However, because it uses the Microsoft C
library and gcc has not been properly adapted for it there *are* areas
where it does not even conform to the old C90 standard. I believe (from
memory) that the printf/scanf families have problems with long double.
This is not an error by either Microsoft or the gcc team, rather it is a
problem in the way the MinGW team have glued the two things together.
--
Flash Gordon
If spamming me sent it to smap@xxxxxxxxxxxxxxxxx
If emailing me use my reply-to address
See the comp.lang.c Wiki hosted by me at http://clc-wiki.net/
.



Relevant Pages

  • Re: dates in diff files?
    ... including diff (but not patch as I ... Windows since NT4, does much the same work as diff; ... Microsoft employees is true, and warms your heart no doubt; ... specifically mentioned cygwin and mingw. ...
    (rec.games.roguelike.nethack)
  • Re: Where can I get a C++ compiler for Win 98?
    ... > I was trying to find a program that will let me compile, ... > programs on my Windows 98 system, preferably something I can get for free. ... It might just be tagged as unsupported on 98 so Microsoft doesn't have to ... I imagine the real 2K/XP requirement is for the Visual Studio IDE - ...
    (microsoft.public.vc.ide_general)
  • Re: Download Microsoft C/C++ compiler for use with Python 2.6/2.7 ASAP
    ... itself were compiled on Windows with something like MinGW gcc. ... make it possible to compile CPython on a different operating system ... I've usually had success building my native extension ...
    (comp.lang.python)
  • Re: Porting code from Linux to Windows
    ... to use winsock instead of netdb for communications. ... MinGW is just gcc+binutils for Windows. ... anything you can compile with MinGW you can also compile with MSVC. ...
    (comp.lang.c)
  • Re: Compile python with Mingw
    ... Of course that means going through the Windows ... You can't compile a library with VC 2005 and run it with a Python compiled with VC 2003. ... gives some information about compiling Zope packages with C extensions in them using Mingw, ...
    (comp.lang.python)