whats a good *free "C" compiler
You can try gcc. If you want other suggestions, you might want to mention what operating system you are using.
Any C++ compiler you can get nowadays will handle C, and vice versa. GCC is the main free one. Mainly, you just name files that are in C with a .c extension, and files that are in C++ with a .cpp or .cxx extension (the first is more popular). If you're using Visual Studio, it will automatically detect which to use based on the extension, I believe.
oh ok.. ya im on XP
I do have visual studio.net 2003
so if i just create a new win32 console project in C++, and rename the source file from .cpp to .c the compiler will recognize that im using C?
I do have visual studio.net 2003
so if i just create a new win32 console project in C++, and rename the source file from .cpp to .c the compiler will recognize that im using C?
Most likely. I'm not entirely sure, as I've only worked with MSVC 6.0, but that should work.
MSVC should recoginze a .c file as C source. However, MSVC does not implement most of the additions to C in C99 like VLAs, stdint.h and so on.
A good c++ compiler is DJGPP
www.delorie.com/djgpp/
it makes 32 bit dos aplications(protected mode) much faster than 16 bit borland c++ dos aplications
www.delorie.com/djgpp/
it makes 32 bit dos aplications(protected mode) much faster than 16 bit borland c++ dos aplications
You may try tcc "Tiny C Compiler"...google for it it's 7 times faster than gcc(they say so) any very light..
Also, maybe you could try Dev-C++. It automatically detects changes from C to C++ and vice versa. Also supports both, has customizable GUI and an update system that makes use of "Dev Packs". Link to their site.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement