I am writing a Tetris game in Microsoft Visual, and someone gave me code in C, it won't work in Visual, so I looked around to where I could get C but I didn't find it, do you know of anywhere I can download C, for free?
Thanks.
Six answers:
Paul J
2010-01-24 09:37:22 UTC
I'm guessing you want Visual C?
Search for "Visual C express edition" on your favorite search engine.
Or, just go here:
http://www.microsoft.com/express/Windows/
jplatt39
2010-01-24 10:56:17 UTC
I will admit I haven't used visual c++ in a few years, but check the source code. If there is a Makefile then whatever compiler you use you are probably supposed to compile it from the command line. You can set it up to compile from the command line using instructions on the web for setting up the compiler and using instructions which almost certainly came with your source code to set that up (there may be a configure.bat in the directory you have to run and/or you may have to edit the makefile to call cl which is the microsoft executable rather than gcc or dmc or tcc or some other compiler. DMC, the digital mars compiler, is a great c compiler. It will also compile c++ if you install the stlport.zip package. However the free version you have to use the command line:
http://www.digitalmars.com
On the other hand, Visual C++ will compile almost all c programs with no trouble, one way or another. I would DEFINITELY look at setting it up to run from the command line and trying that BEFORE you look at ANY other compiler.
If that FAILS go here:
http://www.freebyte.com/programming/cpp/
but it should work. I'm a microsoft hater -- I use Slackware Linux most of the time. However I won't say their compiler is lousy when it isn't. They've hired enough good people to work on it.
Nick T
2010-01-24 09:43:26 UTC
Micrsoft's Visual C++ compiler wil compile most standard C programs as long as you set up the project files correctly. If the code was written for DOS, or for a different compiler, such as Borland's Turbo C; then it may include libraries that do not ship with visual studio.
What errors do you get? Posting them will make it easier to help figure out what won't work and why.
For an alternativer compiler look at gcc, BloodShed's Dev-C++ or try here
http://www.bloodshed.net/compilers/index.html
tbshmkr
2010-01-24 11:31:25 UTC
Code::Blocks == Open Source C/C++ IDE
=
http://www.codeblocks.org/downloads/binaries
codeblocks-8.02mingw-setup.exe
anonymous
2016-05-26 05:32:38 UTC
There's Microsoft's Visual C++ Or u could use borland'sTurbo C++ Search for it
anonymous
2010-01-24 10:03:30 UTC
Hi ,
i have given the solution for your question... pls find the below...