XP Compiler Query

Pulse

Newbie
Joined
Dec 25, 2004
Messages
2,584
Reaction score
0
I'm in need of a basic, decent (and preferably free ) XP compiler to write and compile standard C programs and functions in, as I have a programming resit exam in just over a week and need to get some practice in. I'm used to working with Xcode but as far as I'm aware that is Mac only, therefore I need something similar only for XP SP2.

Any suggestions?
 
Well I know microsoft has Visual C++ 2008 Express Edition...

but I don't know if that will handle basic C.

I doubt it, and I think it's for .NET C++ anyways... not sure if that's what you need.

http://www.microsoft.com/express/vc/


EDIT: It does apparently work for C... maybe you can check it out. I personally love the express editions, but there are some who don't. I love the intellisense, color coding, autocomplete and more.

http://en.wikipedia.org/wiki/Visual_C++

for the C, C++, and C++/CLI programming languages. It has tools for developing and debugging C++ code, especially code written for the Microsoft Windows API, the DirectX API, and the Microsoft .NET Framework.
 
Downloading now, taking a hell of a long time to install the .NET Framework 3.5 SP1! Looks promising though.
 
Quick question; how do I go about calculating how many bits will be required to store certain integer values within a given range?

e.g. A digital controller produces integer values that vary in the range 0 - 511. How many bits will be needed to store any integer value in this range?

I know the answer is 9 bits but I'm unsure as to how to work this out.
 
Back
Top