[1+1=2]
OneAndOneIs2

Fri, Apr 25, 2008

[Link][Icon]For my sins...

Some of you may remember I got a new laptop around Christmas time. It came with Vista.

Because my internet connection was through WiFi and then through a USB mobile broadband thingy, both of which are a pain to get working under Linux; and because all I was doing with it was using it to run Firefox and Thunderbird, although I set it up for dual-boot, I got into the habit of using it booted into Windows.

MS's worst nightmare: The OS as an irrelevance [Smiley]

But now I'm trying to get back into programming and C. And my, how I miss my comfortable Bash+Vim+gcc combination

Well, actually, I have all three because I always have cygwin installed on any Windows machine I'm going to use regularly. But it's pretty slow.

I tried MinGW in hopes that it would be better, but found it so arcane I've wiped it again.

People are always telling me Windows has all the great IDEs and stuff. Outside of cygwin, what's the best way to compile & run simple C programs?

Comments:

Comment from: Åke [Visitor] Email · http://akeiexil.wordpress.com
I mainly use the DevC++-IDE (http://www.bloodshed.net/devcpp.html) when I'm working in windows. It includes the gnu compiler suite and has a nice package system allowing you to download and install libraries in an easy way.

It's not quite as flexible as the Bash+Vim+gcc+combo but it's quite easy to get started with it and development is smooth.
PermalinkPermalink 25/04/08 @ 19:19
Comment from: herd [Visitor] Email · http://erduman.de
Although their exe-loaders disguised as operating systems suck, their IDEs can teach ours.
Try MS's Visual C++ 2005 express edition.

Also learn to debug and single-step as soon as possible.
PermalinkPermalink 25/04/08 @ 20:42
Comment from: Al [Visitor] Email · http://eggfriedrice.com
+1 for Bloodshed, I used it last year at college for a C programming course. It was handy as I used GCC on Linux at home so I was using essentially the same compiler in both places.
PermalinkPermalink 25/04/08 @ 22:45
Comment from: Citronella [Visitor] Email · http://unsubstantialbubbles.blogspot.com
DevC++ is easy, but it's not quite what I would recommend for "simple" C programs... I found it pretty heavy. A bit like using MS Word when all you need is a text editor. (Except that DevC++ won't mess with your stuff.)

But, as I don't have any other recommendation than that under Windows, maybe I'd just better shut up.
PermalinkPermalink 26/04/08 @ 00:54
Comment from: hari [Member] Email · http://hari.literaryforums.org
I cannot recommend Windows as a platform for learning any programming languages at all.

I think Microsoft's C/C++ compiler is Free. Only the enterprise IDE/tools costs money. You should probably check that out too.

Oh, and the basic IDE is free too:
http://www.microsoft.com/express/vc/
PermalinkPermalink 26/04/08 @ 07:39
Comment from: oneandoneis2 [Member] · http://geekblog.oneandoneis2.org/
Thanks for the feedback, all. I've discovered that cygwin for bash and GCC, and the Windows version of Vim, seems to work best for me. I'm a CLI-boy at heart :o)
PermalinkPermalink 03/05/08 @ 21:01

Leave a comment:

Your email address will not be displayed on this site.
Your URL will be displayed.

Allowed XHTML tags: <p, ul, ol, li, dl, dt, dd, address, blockquote, ins, del, span, bdo, br, em, strong, dfn, code, samp, kdb, var, cite, abbr, acronym, q, sub, sup, tt, i, b, big, small>
(Line breaks become <br />)
(Set cookies for name, email and url)
(Allow users to contact you through a message form (your email will NOT be displayed.))

Categories

August 2008
Mon Tue Wed Thu Fri Sat Sun
 << <   > >>
        1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31

Search

Misc

XML Feeds

What is this?
eXTReMe Tracker

Valid XHTML 1.0 Transitional

Valid CSS!

[Valid RSS feed]

powered by
b2evolution

blank