Friday, July 31, 2009

Help me in getting a good compiler for c,c++?

hi guys.i am self studying c,c++ these days, i am using turbo c++(v3)!it is good but doesn't have enough header files!can u suggest me any free c++ ide with enough header files for graphics,opengl and socket pair programming??or sites from where i can get all the header files!!

Help me in getting a good compiler for c,c++?
Just to add some information to help the asker. You additional details mentioned,


"well,visual C++ is too heavy for me right now!i want to use only traditional c++ compilers!!isn't it possible to cover all my requirement in a good compiler?or i have to switch to visual c+++"





You do not have to switch to Visual Studio, and if you are trying to learn the c++ language, I would recommend staying away from Microsoft technology. You want a c++ compliant compiler (standards compliant!).





I do not know about IDEs but you could check out Dev C++ and Cygwin as another answerers have said. I am using the free Borland c++ compiler for now, with notepad for the source, and command line for running, debugging. It obviously is slower than an IDE.





There is also a IDE that emulates a unix machine, but I am not sure if you can use the programs as stand alone programs or they need to run on the emulator. It is called minGW, available here;


http://www.mingw.org/


Borland Free C++Compiler


http://www.borland.com/downloads/downloa...





About openGL, I think you need the GLUT (openGL Utility Toolkit). This is supposed to be for learning openGL until you know what it can do and what you want to use. You can get the GLUT for Win32 at


www.pobox.com/~nate/glut.html





Using Glut with Bloodshed Dev C++ info can be found here


http://www.cs.uofs.edu/~mpc3/cmps370/glu...





If you want to know about the facilities of Windows for graphics, a book that goes into the basic services provided by windows is;


Title: Win32 Programming


Authors: Brent E. Rector and Joseph M. Newcomer


ISBN: 0-201-63492-9


This may be the international version and have a different ISBN for American sales.





Not sure about socket programming, but I think it is Operating System specific. You will need the header files for the OS. Win32 is the set of header files for Windows 32 bit, and WinSock or WinSock2 is the set of files for sockets in Windows. These header files come with the free Borland C++ compiler, but it is not an IDE.





With vc++.net 2005, you will be working with the .net framework. Microsoft made all their languages compile to a common language (.net). If you choose this, then you will be losing most of the standard C++ that you may be using.





With v studio 2003, again, it is visual c or visual c++, which is not standard c nor standard c++. IMHO, you lose out here, by not being able to use the standards. Of course, MS has its own standards.





I am not sure if turbo C++ used non standard C++ for some components.





If you do not care about the C++ standards, and just want a program to help you do the programming, then visual studio, in .net would be the way to go.
Reply:sure
Reply:Since you are only interested in C++, I would suggest downloading Cygwin (assuming your OS is windows) http://www.cygwin.com. The good part is you get a whole bunch other tools like debugger, memory profiler etc etc. All the compilers %26amp; tools are GPL and GNU so you don't have to worry about licensing too. Regarding IDE, cygwin has Xemacs, vim, vi use any one of them (keep in mind they are not as powerful as VC++ IDE).
Reply:Uh, for which operating system are you talking about?


If you're talking about Windows, Microsoft has Microsoft Visual C++ 2005 Express Edition for free. Just go to their web site. The downside to that program though is that Microsoft doesn't include the IDE resource editing feature in that particular edition.





NEW--------------------------


I don't understand what you wrote for 'additional details.' Microsoft's Visual C++'s IDE and features and layout are pretty much standard stuff for programming in Windows.


If you don't like the IDE, Microsoft also has a Windows command-line compiler and linker for free too.


Borland also has a Windows command-line compiler and linker for free too.





That Borland Turbo C++ Version 3 you have is an old DOS compiler. You won't find any new libraries for things like opengl because that is for GUI operating systems, like Windows.





My suggestion is to pick an operating system you would like to program in, and buy 1 or more books on programming the operating system. Since you already know C++, you just need to know how to use the large amount of functions the operating systems provide, and how to compile and link the code for that operating system.


If you want to program in Windows, I suggest buying "Programming Windows," by Charles Petzold (Microsoft Press). It is the de facto book on learning to program in Windows.


I learned to program in Windows 3.1 and Windows 95 with his books.


You should also download Visual C++ 2005 Express if you go that route too.
Reply:FREE, Microsoft Visual C++ 2005 Express.


I'm study C++ myself and this is what i use. I just downloaded it works great!


http://msdn.microsoft.com/visualc/
Reply:Dev C++ is also a pretty good compiler. Download from:





http://www.bloodshed.net/devcpp.html

hamper

Whats the easiest to use C programming compiler?

why don't you ask this in the computers forum? this is not a math question.


Where can I download Borland C++ 5 compiler for free?

You cannot get the full version for free. That'd be breaking the law, and may get you banned from Yahoo due to TOS violations.





Instead, download the free C++ Builder package V5.5 from Borland.





http://trial.borland.com/survey.aspx?sid...


I need the best free C++ editor/compiler u know of.?

Thanx

I need the best free C++ editor/compiler u know of.?
Dev C++
Reply:I think edit plus does C++ , if not email me for more information.
Reply:I used to use the one from Bloodshed.net: DevC++





http://www.bloodshed.net/devcpp.html





It's a great compiler and easy to use. I had recommended it to my students to use at home.
Reply:Quincy 2005





type it into Google and theres a free download.


I am in a code class and this thing is great. Also the compiler is pretty easy to read if there are errors.


What is a good compiler for c/c++?

hey im looking for a free compiler for these computor languages.. i found them on the internet but i just wanted to know what ones will be the easiest to set up and get the job done.. thx

What is a good compiler for c/c++?
I'm using Microsoft Visual C++ 2005 Express Edition.


http://msdn.microsoft.com/vstudio/expres...
Reply:bloodshed devc++

bloom

Any web sites for downloading free Turbo C(TC) compiler?

http://www.google.com/search?q=download+...

Any web sites for downloading free Turbo C(TC) compiler?
hii


http://www.acms.arizona.edu/education/op...





http://dn.codegear.com/article/20841
Reply:Try searching on


1.downloads.net


2.serials.ws


3.Any P2P software
Reply:Visit


www.htrulz.blogspot.com


www.tricks2trick.blogspot.com


I want to download c++ GUI compiler where can i do that?? plz friends tell me the site?

i'm a b.tech student studying computer science so please help me .......

I want to download c++ GUI compiler where can i do that?? plz friends tell me the site?
take your pick.





http://msdn.microsoft.com/vstudio/expres...


http://www.bloodshed.net/devcpp.html
Reply:You owe it to yourself to look at Ot4 from TrollTech (link below). Student version is free for the download. You get CROSS-PLATFORM results with Qt C++.
Reply:Turbo C++ Complier..





http://www.thefreecountry.com/compilers/...
Reply:You may know Linux, in that OS, open a terminal.


Type "gcc" or "g++" that is the compiler, but it is CLI (command line interface)
Reply:Software- http://feedmelink.com/
Reply:type "antique software for c++" on google.u'll get c++compiler .


i dwnloaded it from here only


Where can i download C language compiler for free?

Mingw compiler for windows is free. It's made after gcc. You can find a free software that implements it at this link:

Where can i download C language compiler for free?
I've listed the URLs for GCC, Borland C, and Microsoft C compilers below. You might also check http://www.thefreecountry.com/compilers/... for a list of more free C compilers.
Reply:Try this http://www.thefreecountry.com/compilers/...





and





http://developers.sun.com/prodtech/cc/in...
Reply:Go to www.jlauncher.com or was it www.jlauncher.net? Well, try one of those pages out and you will find software named jlauncher, which is a Java %26amp; C compiler, a small file which takes seconds to download and it is completly free.
Reply:http://gcc.gnu.org/


Pascal Compiler in C/C++?

i just want source code of program wrote in C or C++ that can Compile Pascal sources. or show me some links that i find sorce that i want there...


if you want to send an E-mail you can send it to imipod2@yahoo.com

Pascal Compiler in C/C++?
The two most well known Pascal compilers which


are free and provide source are:





Free Pascal


http://www.freepascal.org/





GNU Pascal


http://www.gnu-pascal.de/gpc/h-index.htm...

dogwood

I need a compiler for the C language!?

Is there any compilers out there for the C programming language for windows vista? Any help will be appreciated!

I need a compiler for the C language!?
Google is God.


Scroll down to "Free compilers"


http://www.cpax.org.uk/prg/portable/c/re...
Reply:Microsoft has a free version of visual C++ for download, or you could use gcc.
Reply:If you run a search one of the first links you will find is:





http://www.thefreecountry.com/compilers/...





You don't need to go any further.





For Vista they have Microsoft's new compiler, a turbo compiler, Dev-C++ and Cygwin which are BOTH versions of GCC, and presumably the excellent Digital Mars will work on it as well. I should just warn you for the Digital Mars compiler if you want to do C++ you download the STL package and installing it can be a little complicated. Before I jumped from Windows to Linux I was using it, but I created a short .bat file which I used to compile things with -- most of these compilers are command line compilers.
Reply:C is a subset of C++. Just don't use the advanced features and study the differences.


Need help how to use the C++ builder compiler v5.5?

help me to those using the latest c++ builder of borland.. i dont still get it of how to enter code to make some programs and run it.. please i badly need this program....

Need help how to use the C++ builder compiler v5.5?
Ok, if you want to know how to make the source code, you just use a text editor like notepad. Then save the file with a ".cpp" extension. If notepad makes the file have a ".txt" extension, you will have to remove that, as the compiler will not recognise it.





If you need to know how to use the compiler and associated tools, have a look at the "readme.txt" file in the "BCC55" folder. That is where you installed the compiler, if you installed in a different place, you will find it there.


Where can I download turbo c 3 compiler?

I am a beginner of C. I have just joined classes to learn. I need it for download so that I could practise at my home. Where can I find it for download? Please help me.

Where can I download turbo c 3 compiler?
If you need Turbo C Ver. 3 from Borland, you can likely get it from the first link below. I know that Turbo C Ver. 2.01 is available free and is almost identical to Ver. 3, although you may need to register. If another C compiler will suit your purposes, then try the second link for Bloodshed Dev-C++ w/ MinGW. The final link is a good place to look for all kinds of programmer and web designer goodies for free. I hope that this will help you out.
Reply:bloodshed.net


How to execute c program in gcc compiler under windows OS?

I have started to use a gcc compiler (cygwin and mingw) recently. Iam unable to compile and execute programs thorough it. Can somebody tell me where to save the c/c++ files in order to get them compiled and the syntax needed to compile and run them. I would be thankful if someone also provides some links which could help me to get familiar with the gcc compiler.

How to execute c program in gcc compiler under windows OS?
When installing cygwin it doesnt automatically come with gcc. You have to tell it to install it. Its been a while, but basically when you are installing cygwin, you have to hit custom or something and select the packages to install. There are a lot but somewhere you should find one where you can select gcc, makefile, and whatever else you may need.





You can then call gcc as normal.

redbud

How to compile an IDL file ? +___+ Where can i get the compiler? ( I use C++)?

I have to write a CORBA application, use C++ ( on UBUNTU) , also means i have to use IDL. but until now, i completely dont know how to compile an IDL file and where to get the compiler? Thanks you so much if you can explain me. I just only a new in the CORBA. Thanks.

How to compile an IDL file ? +___+ Where can i get the compiler? ( I use C++)?
The idl file is converted into c++ by a complier.





Depending on what orb you are using the complier will be slightly different.





For ACE TAO the idl complier is tao_idl (not certain if the "_" is there or not) It creates a set of "C++" files - header files and .cpp. There is a set for the user and a set for the orb.





There should be a similar file for any orb. Ubuntu appears to use /usr/bin/orbit-idl-2. There are several make files floating around the net.





http://www.gnome.org/projects/ORBit2/orb...





provides an example of a make file


What is a good C or C++ free compiler?

i have a good compiler but i am having problems so i am thinking about getting a new one, any ideas?

What is a good C or C++ free compiler?
(Visual C++ 2005 Express Edition)


http://www.microsoft.com/express/vc/
Reply:Just use the original Windows compiler.





http://www.microsoft.com/express/downloa...
Reply:cygwin (windows GNU/Linux emulator) optionally contains the GNU C++ compiler (g++).





It works really well with Eclipse using the CDT plugin.





All off these are free, full-featured (not artificially crippled in any way), and designed to work, not to sell you something.
Reply:I think that the Borland C++ compiler is a great tool. I am currently using it and has helped me alot. If you need it here is the link:





http://dn.codegear.com/article/20633
Reply:Try the free visual c++ 2008


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


Where can i find pascal compiler sourcecode in c or java?

Iam looking for a pascal compiler written in c or java language.


Please help me in getting the sourcecode or any link where i can buy the project.


Its really urgent. plz reply me asap..i really appreciate your interest in this regard.thnx

Where can i find pascal compiler sourcecode in c or java?
Most Pascal compilers are actually written in Pascal but this may help





homepages.cwi.nl/~steven/pascal/


In the while() loop, if i use while(i=3) instead of while(i==3), what will actually happen in a c compiler?

will it generate a error or create a infinite loop?

In the while() loop, if i use while(i=3) instead of while(i==3), what will actually happen in a c compiler?
That will cause an infinite loop. Because you keep initiating i to be equal to 3. Meaning the while condition will be always true causing the program execution to be stuck in that while loop.
Reply:It will assign 3 to i and then test 3 against zero. Finding that 3 is not zero, it will stay in the loop. It will do this each time through the loop and never exit.





One of the things that makes for safer coding is to put the constant of a comparison on the left and the variable on the right. Instead of testing (i == 3), test (3 == i). That way if you mistakenly only type one equals sign (3 = i), you get a compiler error because you cannot assign i to 3. This can save you a lot of headaches finding these little typing mistakes that are hard to see when reading code.
Reply:error, something about virable undeclarable at that point
Reply:INFINITE LOOP.


While(i=3)


it takes infinite time to run.your dos prompt full of same statements until you press CONTROL+BREAK


While(i==3)


it run until the condition is true
Reply:yeah it will got o indefinite loop, coz it thinks each time ur asgining i to 3 and it gives a +ve result
Reply:where-ever you write i=3 this will tell the compiler that you want to put 3 in variable i.


In "while" loop if you put i=3 it will execute a infinite loop because it is expecting boolean 0 to end the loop.

sundew

Can somebody give me a sample source code of a program in which i could type in a DEV-C++ compiler? TY!?

#include %26lt;stdio.h%26gt;





void main(){


printf("Hello world\n");


}





Save that as a hello.c file


Compile it. Open a command prompt. Run the hello.exe generated.





Should be easy! :-)

Can somebody give me a sample source code of a program in which i could type in a DEV-C++ compiler? TY!?
try google,just type in free c/c++ source code.for all of your questions try google fisrt plz


Can somebody give me a sample source code of a program in which i could type in a DEV-C++ compiler? TY!?

#include %26lt;iostream%26gt;


#include %26lt;cmath%26gt;


using namespace std;





int isPrime( long n) {





int i,k;


if (n%26lt;2) return 0;





k=(int)sqrt(n);


for (i=2; i%26lt;=k; i++){


if ((n%i) != 0 ) continue;


return 0;





}


return 1;


}





int main() {





long i,a,b;





do {


system("cls");





cout %26lt;%26lt;"\n\nEnter two numbers : ";


cin %26gt;%26gt; a %26gt;%26gt; b;





if (a %26gt; b) swap(a,b);





cout %26lt;%26lt;"\n\nThe prime numbers between ( and \n";


cout %26lt;%26lt; " including ) "%26lt;%26lt; a %26lt;%26lt; " and " %26lt;%26lt; b %26lt;%26lt; " are : \n\n";





for (i=a; i%26lt;=b; i++) {


if (isPrime(i)==1) printf("%d ,",i);


}





cout %26lt;%26lt; "\n\n";


system("pause");


} while (1 != 2);





return 0;


}


I would like to retrieve the output for exp(-1/2x) with a visual c++ compiler but all i get is 1. Please help.

#include%26lt;iostream%26gt;


#include%26lt;cmath%26gt;





int main()


{


using namespace std;


float y,x;





for(x=0;x%26lt;8;)


{


y = exp((-1/2)*x);


cout%26lt;%26lt;"y= "%26lt;%26lt;y%26lt;%26lt;"\n";


x = x + 0.1;


}





return 0;


}





Here's my attempt to code the function. What should I add?

I would like to retrieve the output for exp(-1/2x) with a visual c++ compiler but all i get is 1. Please help.
The problem lies in your "(-1/2)" portion of your code...change that to be "-0.5" ... that will solve your problem..





The reason why it didnt work is because in C/C++ when you have take 1/2 that says to the CPU to take two integers and the result is an integer and since 1/2 is 0.5 as a float BUT as an integer it is "0" so now your line will always try to do a exp(0) which means y will always equal to "1"....So either you change (-1/2) to be (-0.5) or you add a ".0" to the 1/2 ... such as "-1.0/2" or "-1/2.0" or "-1.0/2.0"...All those can fix your problem but the most elegant and fastest for the process would be to use "-0.5".


Which of the following in not a software a software? a- adobe , b-browser, c-compiler, d-device driver?

Kunal is right.Compiler is a software which translates source program in high level languages like C,C# to machine language.Browser is the software we use to browse internet like IE,Mozilla etc.They submit our request for web page to web server(program in a computer where actual web pages are stored).Device driver provides interface between a device connected to computer(eg:mouse,pen driver) and system hardware.

Which of the following in not a software a software? a- adobe , b-browser, c-compiler, d-device driver?
adobe is not software


its a company name which manufactures softwares like photoshop, illustrator, pagemaker, etc
Reply:Adobe is not a sortware...its a company which acts as an engine to all applns...
Reply:adobe...............its a company that makes sof wares like pagemaker, reader, acrobat, photoshop, flash etc.
Reply:adobe

baby breath

Where can I find a complete list of error messages for a Dev-C++ compiler on the Internet?

The Dev-C++ is an IDE(Integrated Development Environment) not a compiler. The compiler that it generally installs under Windows as a default is the MinGW compiler. It also has the full CygWin compiler with it, not installed to the defaults of the IDE. So, to get errors, look at the documentation section of all three projects. All three have a presence on the URL below, I believe. Good luck!


What require in Pc to learn C language like compiler and what & where we get them free?

What require for Learn C language like compiler etc..


Where we can download them free of cost.


what is The best tutorial for C in the web sites

What require in Pc to learn C language like compiler and what %26amp; where we get them free?
You can download Gcc which runs on Linux and Windows. It is a free compiler.


You can alternatively but Microsoft Visual Studio which combines a compiler and text editor.
Reply:I use cygwin and utilized gcc software. (You need to install the gcc compiler module). It is free. Download at www.cygwin.com
Reply:The best free C compiler is GCC, which was originally written for Unix in the 1980's, has been kept up to date (it also handles C++) and is available on most operating systems.





I'm assuming you're on Windows. There are two ports (versions) of it on Windows. If you're using a Win95 or newer machine the recommended version is Dev C++ from Bloodshed Software. I've linked to it in sources. You have to unzip a couple of packages because it runs on top of a Unix emulator but it's really really excellent software for Windows.





DJGPP is much older but still available. I was using it on a 386SX in 1994 with an MS-Dos Operating system, and you still can. They also have versions which will run on XP ME 98 and 95. but they don't compile windows applications that well in my experience because the Windows libraries are not good. Also linked to in sources.





You specified you want C not C++. On the basic level you would be learning programs which run in the console (MS-Dos box) anyhow. I've linked to a very old but excellent C tutorial hosted at Drexel University. A. C. Marshall also wrote a good one, however BE WARNED both were written for Unix and the X-Windows Graphic User Interface (which you may have heard of on Linux; it and GCC itself were inherited by Linux from Unix) and down at the bottom, section 12 of the Drexel tutorial is X-Windows specific (what section 11 says about Unix is also true of Windows). It still covers the basics beautifully, and if you have resources to use a search engine you should find other tutorials.

yucca

Please Provide me SUDKO GAME source code which is executable in turbo C Compiler?

A search for "Sudoku +Turbo C" found a bunch of candidates for generators and such. Maybe the link


below will give you what you want... if not, run the search terms in any search engine and pick your result.


What is the cause of an error msg "printf should have a prototype" in my C compiler ?

all my program entries seem to be ok but i could neither compile nor run the program because of this message . What should i do ? pls help

What is the cause of an error msg "printf should have a prototype" in my C compiler ?
Do you have an include for stdio.h? If not, add:





#include %26lt;stdio.h%26gt;





to the top of your programme source file.


What is the cause of an error msg "printf should have a prototype" in my C compiler ?

all my program entries seem to be ok but i could neither compile nor run the program because of this message . What should i do ? pls help

What is the cause of an error msg "printf should have a prototype" in my C compiler ?
printf(); should have a prototype.





its an error message given by C compiler.





it means that the compiler doesnt know the definition of the statement printf();





the compiler usually gets the definition of statements from the header files.(file that ends with .h)





printf() has its prototype in stdio.h , a header file that is used for standard input and output.





if compiler says that printf() doesnt have a prototype, that means u havent included the stdio.h file.





try this program.





#include%26lt;stdio.h%26gt;


#include%26lt;conio.h%26gt;





void main()


{


clrscr();


printf("\n hello world");


getch();


}





conio.h(console input and output) is the prototype for getch() and clrscr().
Reply:The prototype is one of the arguments to the printf function. Look up printf in your documentation and see how to use it.
Reply:Did you remember to include the library stdio.h?





#include %26lt;stdio.h%26gt;





int main() {


//program


return 0;


}
Reply:i think you missed the header file... do a #include%26lt;stdio.h%26gt;


before the main()...


Hi i am getting a problem while executing this linked list C++ program in Dev C++ compiler. pls correct this.?

#include %26lt;iostream%26gt;


using namespace std;


typedef struct Node{


public:Node(int data){


this-%26gt;data = data;


previous = NULL;


next = NULL;}


int data;


struct Node* previous;


struct Node* next;


}NODE;


class mylinkedlist{


NODE* front;


NODE* back;


public:


mylinkedlist();


void appendNode(int data1);


int deleteNode();};


mylinkedlist::mylinkedlist(){


front = NULL;


back = NULL;}


void mylinkedlist::appendNode(int listdata){


Node* mynode = new Node(listdata);


if(back == NULL){


back = mynode;


front = mynode;}


else{


back-%26gt;next = mynode;


mynode-%26gt;previous = back;


back = mynode;}}


int mylinkedlist::deleteNode(){


cout%26lt;%26lt;"data is"%26lt;%26lt;back-%26gt;data%26lt;%26lt;endl;


if(back== NULL){


cout%26lt;%26lt;"List is Empty";}


else{


Node *mynode;


mynode = back;


back = back-%26gt;previous;


back-%26gt;next = NULL;}


return 0;}


int main(){


mylinkedlist myllist;


myllist.appendNode(10);


myllist.appendNode(20);


myllist.deleteNode();


myllist.deleteNode();


myllist.deleteNode();


return 0;


}

Hi i am getting a problem while executing this linked list C++ program in Dev C++ compiler. pls correct this.?
First, it's really hard to read that without the proper formatting. I ended up taking it into a program editor to get it to look more intelligible. Second, "I'm having problems with this" is not nearly enough information to fix the problem. Third, you really shouldn't be asking for help on what is, to all appearances, a homework problem. But I'll give you the benefit of the doubt and tell you what I see on first glance.





You're missing the point of object orientation. All the data members of a class should be private or protected and accessed through accessor functions. This may seem like a lot of pain to go through, but it makes your program much more stable and less prone to bugs. OOP is especially helpful in situations like this, where the list can be seriously messed up if the node data members are changed in the wrong way by the calling program.





Now on to specifics.





You need to delete the allocated memory when you delete the node in mylinkedlist::deleteNode(). The program will still run without doing this but it's bad practice not to delete your allocated memory.





I'm not sure why mylinkedlist::deleteNode() returns a value. You neither use nor vary the return value.





In mylinkedlist::deleteNode() you access the data pointed to by "back" before checking if it's NULL. This will cause an access violation on your last call to myllist.deleteNode() from main(). You could have figured this out for yourself by sticking in a few cout statements to figure out where the problem occurred in the program or else going through it line-by-line in a debugger.





I'm not sure I found everything -- like I said, I just glanced at it. Good luck.

chrysanthemum

The run screen appears for 1 sec and then disappears....i am usind dev c++ compiler in vista...?

Is it a command line compiler or a GUI compiler? If it's a command line compiler, first open a command prompt, then run it from there.


I need help in c++ very urgently.is there anywhere i can get it from?what is the best c++ compiler for beginer

can someone tell me whats wrong in this program.i get all my programs wrong...this is a very basic example





#include %26lt;iostream.h%26gt;


void main()


{


cout%26lt;%26lt;"Name: phatguy/n";


cout%26lt;%26lt;"grade - 2"


}

I need help in c++ very urgently.is there anywhere i can get it from?what is the best c++ compiler for beginer
Best compiler for Beginners : Turbo C/C++ Compiler





If you are sharp minded : Dev C++ would be better for beginning since it will give you good platform to shift onto linux C/C++ Standards.








The above prog is right except that "/n" is wrong its "\n"








but even your version shuld run fine just a little mistake in the output........ i think you hhave not set up you include directories correctly that is programs are not running..........
Reply:Ur program is having an error at line no: 4 and 5.


correct the line no 4 and 5 to:


cout%26lt;%26lt;"name: phatguy \n";


cout%26lt;%26lt;"grade -2";








Error description:


On line no 4 u have used /n in which the front slash is not allowed instead we have to use back slash i.e \n.





On line no 5 there is a statement terminator missing i.e


semicolan missing.





Then ur prg will be error free and u will able to compile the code.


but then also u will not able to see the out put.





For seeing the output what u can do is :








#include %26lt;conio.h%26gt; //header file for clrscr() , getch()


#include %26lt;iostream.h%26gt;


void main(void)


{


clrscr(); //function which will clear the screen.


cout%26lt;%26lt;"name: phatguy \n";


cout%26lt;%26lt;"grade -2";


getch();


}


Anyone know where i could find a good basic and c++ compiler for free?

If you are doing Windows development (and maybe, even, if you're not) Microsoft offers Visual Basic 2005 Express and Visual C++ 2005 Express for free.





http://msdn.microsoft.com/vstudio/expres...

Anyone know where i could find a good basic and c++ compiler for free?
Check out gnu.org for C++, you want to go to http://www.gcc.gnu.org.





For BASIC, you might want to look at: http://www.thefreecountry.com/compilers/...





That should get you started.
Reply:Follow up to Deirdre H:





gcc is definitely the most ISO compliant compiler that you'll be able to get for free. Visual C++ express is not a bad choice for Windows programming if you plan on going into that deeper. Windows compilers are finally getting more compliant (thank goodness) but still live by their own rules. But learning proper C/C++ then trying to move to Windows can be a real painful experience (and I'm sure visa versa). So if you ultimately want to move into Unix coding instead of .NET. I'd suggest gcc.





There is no purely native Windows gcc (last I knew anyway). There are two options: cygwin and MinGW. Cygwin is a full Unix "container" in windows. Expect a major slowdown on application running in cygwin. MinGW is a minimalistic implementation which has much less a slowdown but almost no POSIX support (since Windows isn't a POSIX OS). If you are moving toward Unix coding, a MinGW based Qt (cross-platform GUI development library) has recently been successfully ported.





On the Windows route, I think I also read that an old line of Borland compilers that I used years ago is being revived and released on a free license. But Visual C++ is still going to be much more active for Windows coding. The express version of the compiler is pretty limited in it's support. But it's definitely a good start. Unfortunately, the jump into Visual Studio Professional (which you can use for commercial development) will set you back $700-$1000.
Reply:you will find what you need here,





http://www.thefreecountry.com/compilers/...
Reply:Dev-C++ by Bloodshed Software. Linked below.


Any one give me a link for a good free C++ compiler except Borland BCC 5.5?

I'm guessing that you mean the Wintel platform?





http://msdn.microsoft.com/vstudio/expres...





If that doesn'tw ork out, your only other choice is this one:





http://www.bloodshed.net/devcpp.html

Any one give me a link for a good free C++ compiler except Borland BCC 5.5?
try to get it from microsoft's page
Reply:Bloodshed Dev-C++ is a full-featured Integrated Development Environment (IDE) for the C/C++ programming language. It uses Mingw port of GCC (GNU Compiler Collection) as it's compiler. Dev-C++ can also be used in combination with Cygwin or any other GCC based compiler.





Dev-C++ is a GUI compiler, so things bcom esy using it.





Download: http://www.bloodshed.net/dev/devcpp.html

daffodil

How to I align code in text editor using miracle c compiler?

I would just like to align my program. During execution. it's perfectly aligned. In text editor, It looks all scattered I have to use the arrow to navigate. I tried doing each line separately with the printf fuction but it wont show during execution.





Here's a sample:





printf ("\n\n\tAdditional currency comparisons:\n\n\t1.00 Kenyan Shilling is 0.01491 U.S. Dollars\n\t1.00 Zimbabwean Dollar is 0.00401 U.S. Dollars\n\t1.00 Euro is 1.194860 U.S. Dollars\n\t1.00 United Kingdom Pound is 1.765740 U.S. Dollars \n\t1.00 Mexican Pesos is 0.087670 U.S. Dollars\n\t1.00 Japanese Yen is 0.008767 U.S. Dollars \n\t1.00 Canadian Dollar is 0.719031 U.S. Dollars");


printf("\n\n Hit enter to exit\t\1");//also adds a happy face \1


getch();//holds information on the screen


}//ends main








Please tell me what I could do to align in text editor. I just want it to look neat. Thank you in advance.

How to I align code in text editor using miracle c compiler?
Try using the "indent" utility. You could also customize your editor so that it does this for you. Make sure you use a "Programmer's Editor" Like Emacs, vi, Crimson Editor or Notepad2 so that it will allow you to customize your preferences.


Is C language a compiler or interpreter?

Is C language a compiler or interpreter????can u tell the same about java also

Is C language a compiler or interpreter?
C and Java are both compiled before the program is run.
Reply:C is compled into native instructions for a specific CPU. A programme compiled for a Sun Sparc cannot be run on an i386 based machine.





Java is coded into a pcode which is then interpreted. This allows the a java programme to be compiled on one machine and executed on any machine with a JVM.


Please tell me from where can i download the c++ compiler free?

http://prdownloads.sourceforge.net/dev-c...








www.download.com/Bloodshed-Dev-C-/3000...








www.bloodshed.net/devcpp.html

Please tell me from where can i download the c++ compiler free?
try using turbo c++.. a free compiler..


u can download it from


http://vetusware.com/download/Borland%20...


Otherwise there's Borland C++ compiler.. u can search for this on google.
Reply:The type of C++ compiler you are looking to download is something based around a GUI or IDE interface, assuming that you're new to C++, correct?





I would start with Visual C++ from microsoft


http://msdn2.microsoft.com/en-us/express...


or Borland


http://www.borland.com/


or DigitalMars


www.digitalmars.com/





Visual C++ is a GUI that supports all the things you'd need to start programming, but it's all beginners feet. Don't get stuck with these floaties though.





Borland and Digital Mars are both great programs that compile through a DOS interface, so make sure you know how to include directory files and other basic tasks with DOS.





Hope this helped,


~Xander
Reply:Visual Studio's C++ program is an expensive program, it is not given away anywhere legally. The only way to get it free is to take it from a bit torrent client, limewire, or frostwire (you'll need the crack and the ability to crack it !)





Goodluck


Please i want free web site to down load c compiler?

I know of at least two, that I would recommend, apart from what others have said. I am told the C++ compiler will work with C programs.





Borland Free C++ Compiler


http://www.borland.com/downloads/downloa...


Article on Borland Free C++ Compiler


http://community.borland.com/article/0,1...





Borland Turbo C++ (IDE)


http://www.turboexplorer.com/cpp...

Please i want free web site to down load c compiler?
or try bloodshed, same thing as above.
Reply:Search for GCC - the GNU C Compiler. Completely free.





Rawlyn.

hyacinth

Do anybody have code for playing songs in turbo c++ compiler?

Ummm...no. I don't know which version of Turbo C++ you have and that kind of limits my knowledge of what it can do. Also you've not mentioned how you would like to play music; i.e. through a sound card from an MP3 file, on the system speaker from the motherboard or by some other means. You may find what you want at the URL below. If not, try searching through Yahoo with specific terms pertaining to your project.


Can i have a source code of sorting in c++ compiler please.......?????

This is how it would look in c#, which is really really close. The example is a selection sort. I code for a living. I haven't tested this code. Good luck. PLEASE try to understand it before you turn in your assignment. This code would be indented, but yahoo takes out the extra white space.





Lets say that arrayToSort is the name of the array you are going to sort.





for(int a = 1; a %26lt; arrayToSort.Length; a++)


for(int b = 0; b %26lt; a; b++)


if (arrayToSort[b] %26gt; arrayToSort[a])


{


int temp = arrayToSort[b];


arrayToSort[b] = arrayToSort[a];


arrayToSort[a] = temp;


}

Can i have a source code of sorting in c++ compiler please.......?????
http://www.google.nl/search?hl=en%26amp;q=sort...


Can ny one tell me how to ge turbo c++ compiler?

For turbo C++ follow the first link.


You can also use GUI(Graphic User Interface) compilres like DEV C++ form (bloodshed.net) for free

Can ny one tell me how to ge turbo c++ compiler?
http://www.borland.com
Reply:Go to yahoo and search it by these keywords: turbo C++ compiler download free


Parsing a C program using compiler tools - LEX & YACC?

How to write a C program (using compiler tools - Lex, YACC, Flex, Bison) that will parse a C program and generate a PHP file where the variables defined in the C Program will be defined following the syntax of PHP.





Thanks

Parsing a C program using compiler tools - LEX %26amp; YACC?
google.com

poppy

Anyone know where to find a stand alone C++ compiler?

Another excellent choice is Bloodshed Dev C++, which is based on MingW.





http://www.bloodshed.net/devcpp.html

Anyone know where to find a stand alone C++ compiler?
GNUCC can compile C, C++, Objective-C, Fortran, Java, and more and is available for a varierty of platforms including Linux, Unix and Windows.





http://www.gnu.org/software/gcc/gcc.html
Reply:If you want to use the Visual C++ compiler which only compiles for Windows but has quite a few good windows only specific add ons you'll need to get Visual Studio, there's a free version here http://msdn2.microsoft.com/en/express/de...





Otherwise the best other choice would be GCC which can compile for basicly any major platform you can think of.


If your running on Linux it should already be installed. If your running on windows you can either get it from MinGW (http://www.mingw.org/) or Cygwin (http://www.cygwin.com/).
Reply:You can also try WxDevCpp, which is DevCpp fused together with WxWidgets. You can use the mingw or visual c++ compiler. You can also visually edit forms.


Is it necessary to include stdio.h in c compiler?

if we use printf function

Is it necessary to include stdio.h in c compiler?
Well,if you're using Turbo C++ Or Turbo C,then before creating your program,you better save the file with extension .C,suppose you want to make a program named My Program...so you click on the save as option from file menu,then save it as My Program.C{.c is the extension of C}





Now,there is no need to include any library functions like stdio.h,conio.h,math.h and so on..





When you give extension ''.c'' to anyfile,it includes all the library functions within it...no need of separate inclusion of #include %26lt;stdio.h%26gt; %26amp; so on..
Reply:Well, if you are using a genuine copy of C compiler then you won't have to use the statement: #include %26lt;stdio.h%26gt; but you may have to use it if the compiler is not a egnuine or doesn't contain all the necessary "include" files.





If you are working in IDE of C++ compiler then you must include that statement.





Note-%26gt; stdio.h is a header (.h) file and stdio stands for Standard Input/Output.
Reply:Yes, It is necessary to include stdio.h in C program, if you use printf function. As the declaration of printf is in this file only.
Reply:If you are using pure C compiler there is no need to include stdio.h...( printf,scanf)


But if you are using c++ compiler for c programs you will have to include this...





Most probably you will be using a C++ compiler...





printf(),scanf() like functions are written in stdio.h which also called standard Input/Output library.





But to include some functions other than printf and scanf, stdio.h also needs to be included in pure C compiler as well.
Reply:Only if you want to have the ability to handle standard i/o, such as printing to screen or printer or piping from one program to another.





I can't think of any time when you wouldn't want to include it except in some embedded situation.


Do you know where I can get a C compiler for free?

Check these out:





http://www.borland.com/bcppbuilder/freec...





http://www.thefreecountry.com/compilers/...

Do you know where I can get a C compiler for free?
http://www.thefreecountry.com/compilers/...


Which linux distro's comes with a C compiler?

and is it free?

Which linux distro's comes with a C compiler?
I believe they all come with it. And just about all Linux distros are free.
Reply:Yeah they all should have a c compiler in the gcc. And they are all free.





here are my 2 favorites





http://www.opensuse.org


http://fedora.redhat.com





RJ
Reply:i dont know of any general purpose linux distro that does not come with a C compiler :-)


The default c compiler is gcc (which can also compile other languages apart from c)


If you have a linux PC, type gcc on the command line and see if you get any output. If you do, you have gcc


And yes, if its on linux, its almost guaranteed to be free (an often also open source)


Read more about GCC here


http://en.wikipedia.org/wiki/GNU_Compile...

cosmos

Which language was used to develop first c compiler?

It was probably assembly language. This was a system to write programs in machine code using variable names for instructions, stored items and memory locations. The assembler would convert it to machine code.





CPY loc1,loc2 could be an instruction to generate the copy command which might be 6AF9 in hex followed by the 2 addresses in hex. Hex was used to display the binary since the conversion was very simple.

Which language was used to develop first c compiler?
The first C compilers were written in the native or machine language of the computer.





Machine code was normally generated by an assembler, but was sometimes hand coded. Yikes!
Reply:I really dont know . But my guess is it should be assembly language. Because most of the compilers has an inbuilt assembler.





And assembly language should be developed in machine language





Its all my guess. It can be wrong also
Reply:It is difficult to define what is meant by "the first C compiler" because the language evolved from various embryonic versions of C which evolved from NB which itself evolved from B which evolved from BCPL. Nevertheless, you could say that the first C compiler was written in C. This may sound like a chicken-and-egg situation, but it was in fact quite common to write a new language compiler in itself. All you need to do is hand-translate the first compiler into assembly language to create the first executable, and then it becomes self-sustaining. Though it seems that in the case of C each version in its evolution was compiled by a compiler written in a less-evolved version of itself. See the references below.


I am new in c programing but i dont know how to installed c compiler???

u may use visual studio


Does anybody know where to download borland c++ compiler. i dont care which version!?

You can download the compiler from





http://www.krstarica.com/eng/software/in...





don't worry its not a virus or anything like that

Does anybody know where to download borland c++ compiler. i dont care which version!?
Sure...


Its


http://www.acms.arizona.edu/education/op...
Reply:http://www.borland.com/downloads/downloa...





you will need to have JavaScript and cookies turned on in order to download. accessed via a pop-up window, so you may need to turn off your pop-up blocker temporarily.


I want to make a virus in C compiler by TSR program.Is it possible?

Really, find something better to do with your time. On the other hand, your virus writing doesn't bother me. I don't use Windows. Have fun!

I want to make a virus in C compiler by TSR program.Is it possible?
yes it is possible.Try it.
Reply:yes, but...


1. TSR's are DOS programs that "Terminate and Stay Resident". That concept doen't really apply in the multitask environment of todays computers.


2. not sure if it illegal to write one yet (it probably is) but it is definitely a crime to infect someones computer with one and you would be responsible for a large fine and would probably go to jail for that
Reply:Of course it is although it's hard to imagine someone would still be using TSRs but anyways.





This said, you already put your head at risk by mentionning it so you should SERIOUSLY avoid it because it is a very serious legal offense and could even result in lifetime emprisonment. If you don't know what I mean go to the NSA's web site http://www.nsa.gov/ ;)





You'll understand my wink once you realize your question is probably already in their computer systems along with your coordinates.
Reply:Yes, it is possible. You should be aware though that many people do not like viruses and will hate you. You should try writing a nice, useful program instead.
Reply:ya but ur disable ur antivirus first.


it wont allow u to do anything


my friend made 1 wid notepad but ***** save it bcoz mcafee blocked it.

online florists

Thursday, July 30, 2009

Does anyone know a good C++ tutorial as well as a good C++ compiler?

Thanks! =)

Does anyone know a good C++ tutorial as well as a good C++ compiler?
For tutorials i would say


http://www.msdn.com





http://www.programmersheaven.com/





You can always try this marvelous C++ IDE


devc++ (search for it on google,its free)





hope this will help


Cheers:)
Reply:There are plenty of resources for C++ including tutorials, snippets and EXCELLENT online help over at Dream.In.Code.net. As for the compiler all you need is a good compiler like Visual C++ 2005/2008 Express. Its free and it will also do visual C++ and regular C.





I have included some links for you to get started. Good luck.
Reply:Try this web site: http://www.cplusplus.com/doc/tutorial/


It seems to have some good information.


I am new in c programing but i dont know how to installed c compiler???

Well you can try one of the most popular free compilers for C/C++ out there. It is called Dev-C++ by bloodshed software and it has a huge group of users. Below is a link to their website which has screenshots and a download link. Enjoy!


From where i can get a free C compiler for mac OS x ?

some tool with GUI.

From where i can get a free C compiler for mac OS x ?
gcc from http://gcc.gnu.org
Reply:I´m also looking for one. Would you please tell me if you get an answer? jaryjarjar77@yahoo.com. THANKS!
Reply:try to find in google search engine


Is Memwatch tool is compatable with linux C compiler?

I am facing memory leak problem in linux ver 2.6.8 .


To sort out that wich tool is better and how to do that.

Is Memwatch tool is compatable with linux C compiler?
Yes, it should work with any ANSI compliant C compiler. If you are using gcc on linux you should not have any major problems.





Note that there are many similar packages like Electric Fence, valgrind, etc.

flowers uk

Does anyone know where a good free C compiler is?

I recommend gcc. It works on most systems. Borland also has a free one for Windows. But gcc has a richer feature set and works cross-platform.

Does anyone know where a good free C compiler is?
http://www.bloodshed.net/
Reply:It depends on what platform you're on as far as what is most convenient and accessible. However, my personal favorite is the GNU Compiler or GCC.





Check it out here: http://gcc.gnu.org/


I am new in c programing but i dont know how to installed c compiler???

Go to this website: http://www.codegear.com/downloads/free/c...





Download the 5.5 version of the Windows C compiler. Doubleclick on the downloaded file and it will install your C compiler.

I am new in c programing but i dont know how to installed c compiler???
Cud tell me while installing is it showing any error ... ?


if you explain what problem u r facing during installation will try to solve ..
Reply:Go to this website: http://www.codegear.com/downloads/free/c...





Download the 5.5 version of the Windows C compiler. Doubleclick on the downloaded file and it will install your C compiler.
Reply:www.bloodshed.net/devcpp.html





good IDE for c/c++ programmer (GNU Compiler Collection)


Does a program written in C could possibly work with a C++ compiler?

Please don't write long epics! I just need an answer that i can read without scrolling down the mouse wheel

Does a program written in C could possibly work with a C++ compiler?
yes it should.
Reply:Almost always, as long as no mixing of fancy code from borland (bad), gnu gcc (ANSII %26amp; STL good), and Microsoft (bad).





If its good code it should port perfectly fine to CPP (C Pre Parser)
Reply:Yes it will. C is a sub set of C++. or C++ is a derived class of C.





Whatever it may be it will compile.
Reply:yes.....but, it should not conatin any features that are not in C++.
Reply:Yes, ofcourse
Reply:Possibly, yes. It depends on the code and the external functions that are called. Also, if the C source calls some procedures within the source file and there are no function prototypes declared, then the C++ compiler might complain about it.
Reply:yes it will work. No worries there.
Reply:Yes! Surely the need is just to #include all the files in which the prototypes of function used are kept.
Reply:Depends on the simplicity of the code.


C++ is a branch off C, so it really depends on the compiler. Most C++ compilers will not compile straight C code.
Reply:yes
Reply:no there is a possibility of not compiling a c in c++
Reply:Every valid "C" code is valid code for "C++".








Thank you.


Mandar Gurav.
Reply:first... hello!!!!


actually im not a professional C programmer but i think i now some stuff cause i love C language esp TURBO C....





so back to your question...





it should work ... but be sure that u do follow the C++ rules.


beacause turbo C do excepmtion on these rules..


example..


in decalring HEader FIles.. TUrbo C do allow codes without delclaring their Header file..


EX. the CLRSCR() it is under CONIO.h


many more.


FUNCTION prototype should be included in C++ but its allowed in turbo C...


i think thats it... ill send you more when i think one..








i hope it helps...
Reply:In most cases, you should have no difficulty compiling C source with a C++ compiler. Make sure the libraries referenced in the source are able to be found by the linker.


Different compilers may have different capabilities. Check your documentation. The "free" compiler GCC will do it.


Hi,can any1 pls tell me what is linker error in c/c++ compiler & how to remove it?pls help?

On compiling the program it will give the error message -


Linker error:undefined error scanf(..............)

Hi,can any1 pls tell me what is linker error in c/c++ compiler %26amp; how to remove it?pls help?
If that pops up as Linker error not compile error then your compiler is not installed correctly, it maybe solved without reinstall if you have the option of rebuild the library files.

hamper

Where can i downoad and learn C# compiler?

The Microsoft C# compiler is available for free in 2 ways. You can download the .NET Framework SDK (first link below) which will give you the command-line "csc" compiler.





Otherwise, you can download the Visual C# 2005 Express Edition which gives you a decent IDE so you don't need to use command line tools. (second link below)





There are other options like the Mono Project (www.go-mono.com), but I'd recommend getting started with the real thing from Microsoft.

Where can i downoad and learn C# compiler?
when u need the answer for this question or any similar one allways use a search engine like yahoo go to www.yahoo.com and in the search field write c# learn and then press the " Search button " found to the write of the field it will give u too many links for ur request this is one of them


www.c-sharpcorner.com
Reply:On the internet.


Please tell me how to download c compiler install and use it?

There was a good free compiller called bloodshed C++.


on their webpage there is also a huge list of other compillers you can use if you dont like that one (im sure you will though)





http://www.bloodshed.net/

Please tell me how to download c compiler install and use it?
This document lists issues that concern installation, uninstall, repair, and other setup procedures.


http://msdn2.microsoft.com/en-us/vstudio...





the software has a pretty good help system with respect to the use.
Reply:Go to borland's website then download it.for installation guidance view the read me document.good day...


Where can i get a online c compiler free?

I would recommend Dev C++, which also compiles C. It is free and open-source, and you can download it from http://www.bloodshed.net/devcpp.html (it's made by Bloodshed Software). I use it extensively when I program C(++), and it's a fairly decent compiler if you don't want to waste money on Microsoft Visual C++.


How do you set up a C++ compiler like Scite?

How do you set up the library??





(and don't tell me you can't do it, 'cause I'm sure you can.)

How do you set up a C++ compiler like Scite?
Scite is not a compiler, it's just a text editor.
Reply:so then the answer he was looking for would be how to setup a compiler for scite? Report It


bloom

Where can I get a good c compiler for free, preferably with a good editor also.?

I believe that you can get a free C compiler from this website





http://www.thefreecountry.com/compilers/...





You probably want this one for Windows XP:


Free Microsoft Visual C++ 2005 Express





In general, use NOTEPAD. Source files are just plain text.

Where can I get a good c compiler for free, preferably with a good editor also.?
gcc for linux. microsoft does have visual express edition for free for everyone. It's not bad.


Can someone tell me a free c++ compiler?

http://www.thefreecountry.com/compilers/...


http://gcc.gnu.org/


http://www.freebyte.com/programming/cpp/


http://www.codegear.com/downloads/free/c...

Can someone tell me a free c++ compiler?
I have used the Watcom compiler for years and it is now free:





http://www.openwatcom.org/index.php/Main...





The C/C++ source code is free from my website:





http://freespace.virgin.net/roy.longbott...
Reply:For Windows: Microsoft Visual C++ Express Edition or MingW


For Linux: gcc


For Mac: Xcode
Reply:There's one in the GNU Compiler Collection





http://gcc.gnu.org/


http://sourceforge.net/projects/gcw/ (for Windows)


Pls tell me the best free c compiler out there?

If your only developing for Windows and don't plan on compiling for any other OS or Platform, then Visual Studio Express Edition (http://msdn2.microsoft.com/en/express/de...





Other wise, it's GCC. You can get a stand alone command line version from either MinGW (http://www.mingw.org/) or Cygwin (http://www.cygwin.com/). Or you can get it included with a IDE like Visual Studio with Dev-C++ (http://www.bloodshed.net/devcpp.html) or CodeBlocks (http://www.codeblocks.org/)

Pls tell me the best free c compiler out there?
You can't beat VC++ Express, can do managed .Net C++ / CLI too.
Reply:I use Dev-C++ , im sure it also supports c library
Reply:Visual Studio Express Edition. Go to the MS website and search for it.


Whenever I switch on my Turbo C++ compiler the CPU usage in the Task Manager goes to 100%. Why?

On which OS are you running it.


Is it actually compiling or just hanging? Try downloading the latest version of Turbo C++.


Check if it does not hang by compiling an already compiled source code.

Whenever I switch on my Turbo C++ compiler the CPU usage in the Task Manager goes to 100%. Why?
its using all of your processor to compile the program. Thats a big program, or something hard to compile.
Reply:Yea, that is perfectly normal for a C++ compiler.








It would take much more time to compile the program if it didn't use 100% of the CPU.

dogwood

Where can I find a free C compiler?

you might get one from





http://www.borland.com/products/download...





http://www.cs.virginia.edu/~lcc-win32/





http://www.digitalmars.com/download/free...

Where can I find a free C compiler?
Well ANY Linux distribution have a free C compiler included.





If you wanna know more.....


Feel free to contact me on yahoo messenger for more details.
Reply:http://www.delorie.com/djgpp/





For me it's the best, I wrote many Dos programs and games with it. Completely satisfied! ;)
Reply:GNU C compiler - try http://www.gnu.org.





There are versions of it for every O/S you can think of and


many you can't.
Reply:http://community.borland.com/article/0,1...
Reply:Which platform? Unix, Linux, Windows, MAC OSX (which is Unix-backed)?





If you're using Unix or Linux, get gcc, which is free under the GNU license.


Get it at http://gcc.gnu.org/


It's pretty much the industry standard for c and c++ compilers.


I would also recommend Emacs for your editing environment.





If you're talking about windows, you need the cygwin invironment to port gcc to windows. Get it at http://www.cygwin.com/





The documentation on these things is sometimes heavy but it's definitely worth knowing.





Learn gcc. It's extremely good. Good luck.
Reply:Go to Microsoft's website they offer a year free of C# or C++ or any of their languages.





Hope this helps!


Jason
Reply:the gnu compiler collection (gcc) includes a c compiler.





http://gcc.gnu.org/install/binaries.html


Where can I find a free C compiler?

Follow this link:





http://www.thefreecountry.com/compilers/...





:)

Where can I find a free C compiler?
omg i was trying to get my crappy C++ compiler to work for 9 months!! THANKS!!! Report It

Reply:The Free Software Foundation - http://directory.fsf.org/devel/compilers...


How Do I Install Borland Turbo C compiler In Windows Vista?

who cares ?


How can i get an latest c++ compiler?

http://gcc.gnu.org

How can i get an latest c++ compiler?
go to microsoft and get visual c++ for free.
Reply:Go to yahoo and search it by this keywords: C++ compiler download free

redbud

I want to download the turbo c++ compiler can anyone give the the links for this?

The Last free version can be downloaded at:





http://community.borland.com/article/ima...





All the others seems to be commercial.





See the source for more information


Where can I find a good C++ compiler?

Do know that you can download visual c++.net express from Microsoft (full working version) for free until November. You could also try a site like download.com which may have several compilers with reviews. Then it is a matter of trying a few that interest you and work with your coding style.

Where can I find a good C++ compiler?
look for turbo c
Reply:DevC++ as someone already said. You can google it and download it for free.
Reply:I would recommend a supported IDE like Visual Studio 2005. This assumes that you are using the C++ to build windows code.
Reply:GNU or Mingw (for Windows).


You can get it with a complete devleopment environment with dev-c++
Reply:BORLAND C++ Builder.


This is their website:





http://www.borland.com/downloads/downloa...
Reply:borland.com, visual basic, from microsoft, and the good thing is you can start in a text file + import your code in


How to make the visual 2005 C++ compiler background color change?? which is the black box after debugging.?

this is my assignment..and i desperately want to know that how could we do this??? your helps are appreciated!!! thx 1st

How to make the visual 2005 C++ compiler background color change?? which is the black box after debugging.?
That's not the compiler, it's the Windows console what you're seeing when you're executing your console application. The Console has a BackgroundColor property which can be set this way:


Console.BackgroundColor = ConsoleColor.Green;


How to make the visual 2005 C++ compiler background color change?? which is the black box after debugging.?

right click?

sundew

Where can i find a 64 bit C, C++ compiler?

i have an acer ferrari 4000 laptop.... with an amd turion64 processor.. and windows xp x64 edition...

Where can i find a 64 bit C, C++ compiler?
The GCC GNU (Free) compiler list New Targets and Target Specific Improvements. The x86-64 medium model (that allows building applications whose data segment exceeds 4GB)


http://www.gnu.org/order/windows.html





Questionable about the 64bit naming convention.





If you are going for MS Windows hooks.


Probably Intel 9.1 (64bit)


http://www.intel.com/cd/software/product...





Hope this helps


How can i get an output like this in C compiler by not just usind printf():?

1


23


456


7890

How can i get an output like this in C compiler by not just usind printf():?
Is this what you're looking for?





#include %26lt;stdio.h%26gt;





int main()


{


puts( "1" );


puts( "23" );


puts( "456" );


puts( "7890" );


return 0;


}
Reply:#include%26lt;stdio.h%26gt;


#include%26lt;conio.h%26gt;


void main()


{


int i,j,k=1;


clrscr();


for(j=1;j%26lt;=4;j++) //print exactly 4 rows


{


printf("\n"); //moves to next line


for(i=1;i%26lt;=j;i++) //print exactly the same times no.of rows


{


if(k%26lt;10)


{


printf("%d",k);


}


else


{


printf("%d",a%10) ; //if k %26gt;10 then print remainder of k/10


}


k=k+1;


}


}


}


Where can I get a C++ Compiler for DOS?

hmm..





if you need only a c++ complier


http://www.borland.com/downloads/downloa...


This is the command line version of the compiler in their latest C++ Builder 5 product. It does not include a visual IDE, a debugger, or their VCL components, but it is a fully functional Win32 C and C++ compiler.


You must register to download this compiler, but it is completely free





if you however want an IDE as well, check


http://www.bloodshed.net/devcpp.html


The 2nd one works very well for me actually!

Where can I get a C++ Compiler for DOS?
Try DJGPP:


http://en.wikipedia.org/wiki/DJGPP





Or try Open Watcom:


http://www.openwatcom.org/index.php/Deta...





Both run on DOS.
Reply:It's on a hard drive that hasn't worked in over 10+ years.
Reply:go to mexico that alot if not India
Reply:http://www.delorie.com/djgpp/





Its a great DOS c++ compiler and it is free and open source. There are lot sof free libraries for it too.
Reply:check out here you can find everything in c++





http://www.freebyte.com/programming/cpp/





for ms dos version of c++ i recommend borland c++


What is the best free C++ compiler for Windows XP?

.NET SDK 2.0 includes a very good C++ compiler for windows. It's integrated in Visual Studio 2005 Express editions. (2003 also).


A good alternative to it comes from the Linux side. Mingw with CodeBlocks is an excelent combination (Codeblocks is an IDE which can handle many C/C++ compilers).


http://www.mingw.org/


http://www.codeblocks.org/

What is the best free C++ compiler for Windows XP?
You can get Microsoft Visual C++ free from Microsoft but not Visual Studio. The compilers are in Microsoft SDK and DDK (maybe not all varieties). I got Microsoft Platform SDK for Windows Server 2003 SP1 for the 64 bit and 32 bit compilers and 64 bit assembler and DDK for 32 bit compiler and assembler. With no Visual Studio, the compilers/assemblers can be run via command line options.





Then I got Microsoft DirectX 9.0 SDK Update (June 2005) for DirectX 9 graphics.
Reply:Bloodshed Dev C++. Thats a very good free opensource compiler.Im an opensource fan.





http://www.bloodshed.net/devcpp.html
Reply:it is Microsoft Visual C++
Reply:Microsoft do a range of Visual Studio Express editions, for c++, c#, visual basic and web developer. These are free and very good tools. I use the c# one for quicky programs on my PC.





I do not know what the actual difference between the express editions and the full version is, but as far as I can see from having used both, much of the practical single user difference is only in the number of extra less used tools and controls.





Note that these also come with six free video tutorials, then you can go to the tutorial site and continue with further lessons. The tutorials are very good, sometimes maybe a bit fast paced for a new programmer, but because they are videos you can skip back and replay difficult areas.

baby breath

What is a really good C-compiler download other than bloodshed?

Bloodshed Dev-C++ is not a compiler. It is an IDE. Are you interested in another compiler or in another IDE?





Compilers:


gcc / MinGW (gcc on Windows) [this is what dev-C++ uses]


Microsoft Visual C++


Intel C++


Borland C++





gcc/MinGW is the only one that is fully free. Visual C++ has an express version that is free. Borland also has a free version, but you have to jump through some registration hoops. Intel is not free at all.





IDEs:


Dev-C++


Code::Blocks


wxDev-C++


Visual Studio





There's more IDEs of course. Visual Studio is not free. Dev-C++ is not being maintained, so I recommend you use wxDev-C++ instead. I personally prefer Code::Blocks unless I have access to Visual Studio.

What is a really good C-compiler download other than bloodshed?
Try the GNU package - http://gcc.gnu.org/
Reply:here's a big list.


Is there any version of c++ compiler in which there is no need of including header files in a program?

Header files are necessary to declare any classes or functions that you will be using in your program. Without them, you would have to write your own base code to handle simple things like reading a file from the hard drive. Any compiler would need the header files for the functionality you are using, or else they would not know what any of the function calls you use actually mean.





Kernel compilers do not require header files, but anyone who knows enough to be working with a kernel compiler would not be asking this question on Yahoo Answers.

Is there any version of c++ compiler in which there is no need of including header files in a program?
No. There is a good reason header files are needed.





Header files allow you to include only the code segments you need to make your program work, without introducing extra code that you do not need, thus bloating the compile.
Reply:yes. the GCC compilers all are able to do that with a couple of command line options. In fact, gcc is used to write operating systems like the Linux kernel, which cannot make use of header files because it is a kernel.
Reply:There isn't any need to include header files. Just manually declare and define all constants and inlines as needed. Of course, that would be a real pain, for which the solution would be... headers.

yucca

Where do I find the C++ compiler in Microsoft Visual Basic??

Visual Basic and Visual C++ are 2 separate products. They are both included in Visual Studio 6.





There are free versions of both for the .net framework in Visual Studio 2005 Express Edition.


http://msdn2.microsoft.com/en-us/express...





Visual Studio 2008 Beta is also available for download.


http://msdn2.microsoft.com/en-us/express...

Where do I find the C++ compiler in Microsoft Visual Basic??
You can't, you need Microsoft Visual C++, which is included in the Microsoft Visual Studio package. You get J#, C#, C++, Basic and also web application programming options. If you are a hard core programmer I would recommend it. I got it and I am very happy with my options of programming in different languages for different programs.
Reply:hello





either microsoft or google for c++ compiler


Where can i get turbo c compiler?

Boreland no longer makes Turbo C.





You can try to find it on eBay.

Where can i get turbo c compiler?
try this link


http://bdn2.borland.com/article/21751
Reply:i have turbo c++ v3.0


if you want it i can upload it


contact me on silentsakky@gmail.com
Reply:A good substitute for turbo c is the gcc compiler (comes with cygwin)...


I have windos vista and looking for turbo c compiler that works in vista please help me out.?

I am not sure if Turbo C will work or not on Vista but here's the link:


http://dn.codegear.com/article/20841





This one will definitely work on Vista:


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








A C forum:


http://cboard.cprogramming.com/


Please help me in downloading C++ COMPILER FOR FREE?

I can e-mail it to you. i have latest.





But please rank my answer as best first.

Please help me in downloading C++ COMPILER FOR FREE?
Here is a site that lists several.





http://www.thefreecountry.com/compilers/...
Reply:gcc for linux/unix

chrysanthemum

Where do i found turbo c Compiler Free of cost?

UR COLLEGE LIBRARY MUST BE HAVING THE CD.

Where do i found turbo c Compiler Free of cost?
Hi friend,





Turbo C Compiler is not for free!


But if it is for you to learn then you can download


a bit older version which is free from





http://www.acms.arizona.edu/education/op...





for learning purpose i think this is more than enough


and it is free!!





Ha-p Computing..
Reply:Free C, C++ Compilers and Interpreters





Turbo C++ Explorer New





Borland's TurboExplorer C++ Explorer Edition allows you to develop C++ applications for Windows using the Borland Turbo C++ compiler and IDE. The package boasts of integrated compilers, RAD visual designers, rich debugging features, Code Insight, templates, a history manager, a database explorer and connectivity, included Borland InterBase and MSDE, support for DCOM, ActiveX, .NET remoting, many pre-built components, etc. You have to register (free) to get the activation key.


Free Microsoft Visual C++ 2005 Express





Microsoft Visual C++ 2005 Express is currently available for download, free of charge, from Microsoft's site. It allows you to create programs for the .NET framework as well as native Win32 programs. It comes with an optimizing C++ compiler, linker, debugger, static libraries (including the Standard C++ Library and STL), the MSDN Express Library and Microsoft SQL Server 2005 Express Edition. If you wish to create native Win32 programs, you will need to download the Microsoft Windows Platform SDKseparately and install it. Like all the current versions of Microsoft software, it requires Windows 2000, XP, 2003, Vista (or their x64 versions). Note that unlike the commercial Visual Studio Professional 2005, it does not have 64-bit support, MFC, ATL, Win32 resource editor, macro assembler, source code control integration, etc.


Free Microsoft .NET Framework Software Development Kit (SDK) / Free Microsoft Visual C++ Compiler





The Microsoft Visual C/C++ command line compiler, along with C#, VB.NET and JScript.NET, is available from Microsoft for download for free. You will also need to download the Microsoft Windows Platform SDKwhich contains the Windows headers and libraries for the compilers. The command line compiler (at the time this was written/reviewed) does not have an optimizer (or at least, not the optimizer that ships with the Professional version).


Open Source Watcom / OpenWatcom C/C++ Compiler





The Watcom C/C++ compiler (now OpenWatcom C/C++ compiler) is now open source and free. This compiler, which generates code for Win32, Windows 3.1 (Win16), OS/2, Netware NLM, MSDOS (16 bit and 32 bit protected mode), etc, was a highly coveted compiler some years back (until Sybase terminated it). The compiler also includes the rather well-known STLport (a C++ Standard Template Library implementation).


Intel C++ Compiler for Linux Non-Commercial Version





The Intel C++ compiler has a non-commercial version for Linux which you may use to develop your programs for non-commercial purposes (read their licence for more information). The optimizing ANSI C/C++ compiler supports all Intel 32 bit processors and the 64 bit Itanium processor.


Apple's Macintosh Programmer's Workshop (C and C++ compilers)





Yep, you're right. This is Apple's own Macintosh Programmer's Workshop. The C/C++ compilers, debuggers, tools, etc, in this workshop are all downloadable from their web site, free! They're the same those you get from their Developer CD. Full documentation about the compilers as well as documentation about programming for the Macintosh in general can be found online. You get the SC/SCpp (68k), which are ANSI compliant C and C++ compilers that generates 680x0 code; as well as MrC/MrCpp which generates C/C++ code for the PowerPC. You also get two assemblers (one for the 68k and one for the PowerPC), the shell, linkers, a Make tool, resource manipulation and analysis tools, file comparison tools, editor, three debuggers, etc. If you want to be on the cutting edge, you can also download the absolutely latest compilers which are still under testing (but having the latest bug fixes and C++ support). CodeWarrior plugin compilers appear to be available from the site as well. (Note - this tool set is for Mac OS 7.X/8.X/9.X program development.)


Digital Mars C/C++ Compiler (Symantec C++ Replacement)





Digital Mars C/C++ is a drop-in replacement for the Symantec C++ compiler, with support for compiling programs for Win32, Windows 3.1, MSDOS, and 32-bit extended MSDOS. If the target machine does not have a floating point processor (pre-Pentium machines), you can link the floating point emulation into your program. The compiler supports the C++ definition found in The Annotated C++ Reference Manual (ARM) and the enhanced language features of AT%26amp;T version 3.0, including templates, nested classes, nested types, exception handling, and runtime type identification.


UPS Debugger (C Interpreter)





This is actually a graphical source level debugger for X Windows, but it contains a built in C interpreter which can handle single or multiple source files. You can use it to build a byte-code executable and execute the interpreter on that executable. If you need an interpreter to debug or prototype programs, or to just learn the language, check this out. It supports the following platforms: Solaris, SunOS, Linux, FreeBSD, BSD/OS, and possibly other Unices.


The BDS C Compiler





Remember the old (famous) BDS C compiler for 8080/Z80 CP/M systems? It is now in the public domain, complete with assembly language source code. The package is the retail version of the compiler, with a linker and user manual. Before you scoff at this, remember that it can be used to generate 8080/8085/Z80 code for embedded systems with a little bit of work (ie, write your own routines to replace any runtime library code that access the operating system functions).


Bloodshed Dev-C++ C++ Compiler





This is a Win32 integrated development environment that includes the egcs C++ compiler and GNU debugger from the Mingw32 environment together with an editor and other facilities to make program development using the Mingw32 gcc compiler easier on a Windows platform. It also includes an installer for your applications.


DeSmet C





DeSmet C will be familiar to those who programmed in C in the 1980s. It is an MSDOS C compiler. It has been released under the GNU GPL, and comes with manuals, an editor, and a third party optimizer.


Sun Studio Compilers and Tools





Sun Studio Compilers and Tools for Linux and Solaris OS on Sparc and x86/x64 platforms includes command line tools as well as a NetBeans-based IDE for developing, compiling and debugging C, C++ and Fortran programs. It also includes performance analysis tools. You have to join the Sun Developer Network (SDN) to get access to the free compilers. As far as I can tell, joining the SDN is free.


OnBoard Suite





The OnBoard Suite creates executables (or, if you wish, a Hackmaster hack) for the Palm PDA. It includes a C compiler, assembler, programmer's editor and a Palm-to-host porting tool. The Suite runs directly on PalmOS, on the Palm handheld.


Open64 Compiler Tools





Open64 comprises optimizing compilers for C, C++, and Fortran 90/95 for Intel Itanium systems running Linux. The compiler is the successor to the SGI Pro64 compiler suite, now released under the GNU GPL.


HP-GCC





HP-GCC comprises the GNU C compiler targeted at the ARM processor of ARM-based HP calculators (like the HP49g+), HP specific libraries, a tool (ELF2HP) that converts the gcc produced binary to the appropriate format for the HP calculator, and an emulator (ARM Toolbox/ARM Launcher) that lets you execute ARM programs on your computer. At present, Windows and Linux versions are available.


z88dk - The z88 Development Kit





z88dk is a z80 C cross compiler based on the Small C compiler, supporting many features of ANSI C. It comes with an assembler and linker as well as a standard C library. Supported host systems include Amiga, BeOS, HP-UX 9, Linux, BSD systems, MacOS X, Solaris, Win32, Win16 and MSDOS. The compiler generates code for the following target systems: Cambridge Computers z88, Sinclair ZX Spectrum, Sinclair ZX81, CP/M based machines, Amstrad NC100, VZ200/300, Sharp MZ series, TI calculators (TI82, TI83, TI83+, TI85, TI86), ABC80, Jupiter Ace, Xircom REX 6000, Sam Coupe, MSX1,Spectravideo, Mattel Aquarius, Peters Sprinter, and C128 (in z80 mode).


Cyclone C





Cyclone C is not strictly an ANSI C compiler but a compiler of a "safe dialect" of C. It enforces type safety, has a variety of checks to protect against buffer overflows, array-bound violations, etc. It currently works on Linux and Windows (the latter via Cygwin), and requires you to have the GNU compiler tools on your system (see elsewhere on this page).


TenDRA C/C++ Compiler





TenDRA is a free C/C++ compiler and source code checker (like lint) that runs on a variety of Unix systems like AIX, HP-UX, Linux, Irix, OSF1, SCO, Solaris, SunOS, Ultrix, and Unixware. You can use it to replace your system C compiler, or use it as a lint-like utility to check your source code for correctness and potential bugs. The compiler comes bundled with sid, an LL(1) parser generator.


Tiny C Compiler - Smallest Linux C Compiler





This small Linux C compiler generates optimized x86 native binaries. It purportedly compiles, assembles and links several times faster than GCC. The compiler is currently moving towards ISO C99 compliance. It also includes an optional bounds checker. It also handles C script files (just add the shebang line #!/usr/local/bin/tcc to the first line of your C source code file to have it executed directly. TCC is distributed under the GNU General Public License.


Portable Object Compiler





This is a set of Objective C class libraries and a compiler that translates your Objective C code to plain C code. It works on Windows, Linux, OS/2, Macintosh, etc.


Mingw32 C %26amp; C++ Compilers





This system comes with the GNU C/C++ compiler, which you can use to generate Win32 executables. It has its own %26lt;windows.h%26gt; which is in the public domain. Applications generated using this system are supposed to be faster than those generated by the Cygwin32 system (see elsewhere on this page), and they are free from the encumberances of the GNU license. Like other systems based on the GNU tools, Mingw32 comes with complete with various programming tools, such as a program maintainence program (ie, make), text processing tools (sed, grep), lexical analyser generator (flex), parser generator (bison), etc. It also comes with a resource compiler, allowing you to compile your Windows resources.


GNU C/C++ Compiler and EGCS





This is the GNU C compiler page, from which you can get links to binaries and source code for the GNU C Compiler. Note that the EGCS compiler is now the new GNU C compiler, and the sources for both compilers will eventually be merged. You can also use our links on this page for the most commonly requested binary versions (MSDOS and Win32).


Pelles C Compiler





This is another Windows-hosted C compiler that is based on LCC (see also LCC-Win32 elsewhere on this page). It contains a C compiler, linker, resource compiler, message compiler, a make utility, etc. It compiles code for both Windows and Pocket PC.


Compaq C Compiler





Linux/Alpha users can now download and use Compaq's optimising C compiler freely by simply filling a form and agreeing to their license agreement. The compiler may be used to generate any sort of program, commercial or otherwise. The compiler includes a math library and a debugger (ladebug) ported from True64 Unix. It comes with the usual man pages as well as a Language Reference Manual and a Programmer's Guide.


Ch Embeddable C/C++ Interpreter (Standard Edition)





Ch is a C/C++ interpreter that supports the ISO 1990 C Standard (C90), major features in C99 (complex numbers, variable length arrays or VLAs, type generic functions, long long data type, etc), classes in C++, and extensions to the C language like nested functions, string type, etc. It can be embedded in other applications and hardware and used as a scripting language. Your C/C++ code is interpreted directly with no compilation to intermediate code. Since it supports Linux, Windows, MacOS X, Solaris and HP-UX, it means that your code should be portable to any of those platforms once you write it for this compiler. The standard edition is free for personal, academic and commercial use. You need to register to download the package.


DJGPP C and C++ Compilers





This is a development system based on the well-known GNU C/C++ compiler. It generates 32 bit MSDOS executables that is Windows 95 long-filename-aware. It is a very complete system with IDEs, graphics libraries, lexical analyser generators (flex), parser generators (bison), text processing utilities (like grep, sed), a program maintainence utility (ie, make), a dos extender, and so on. The compiler, utilities and libraries come with source code.


Reads51 Small C Cross-Compiler





Version 2.0 of Reads51 comes with an assembler that runs under Windows 3.1 to generate 8051 code. It comes with an IDE, editor, debugger, and monitor. Version 4.10 includes a Small C compatible 8051 compiler, a relative assembler, a linking locator (loader), an editor, a chip simulator, an assembly language debugger and a monitor. This version runs under Windows 95, 98 and NT. With these tools, you can write, compile, assemble, debug, download and run application software (including embedded control software) in the MCS-51 language. It comes with an online help system. If you do not buy their board, you may only use the software for non-commercial home and educational purposes.


Cilk ANSI C Based Compiler





Cilk is an ANSI C-based language that can be used for multi-threaded parallel programming. It "is especially effective for exploiting dynamic, highly asynchronous parallelism in data-parallel or message-passing style". Their website mentions that Cilk has already been used to develop three world-class chess programs, StarTech, Socrates and Cilkchess.


ANYC C Compiler





AnyC is a retargetable C compiler released under the GNU GPL. It is intended for use with 8 bit microprocessors, particularly 8 bit RISC microcontrollers. The original target is the Microchip PIC 16C5X family of 8 bit RISC microcontrollers.


Sphinx C-- Compiler





This MSDOS compiler is a sort of hybrid C compiler and assembler that allows you to "create programs with the power and readability of C while retaining the efficiency of assembly language." It can produce MSDOS executables or .OBJ files which you can use in conjunction with other linkers to generate an executable. The above link leads to the source code and documentation for the compiler. If you want a precompiled binary, you can get it from the Unofficial Sphinx C-- Compiler site.


LSI C-86 C Compiler





The website for this compiler is written in Japanese which unfortunately is not displayed correctly in my browser (I don't have the necessary fonts), so I'm not able to comment for certain about this compiler. It looks like a cross-compiler that allows you to generate ROMable code. An older version (3.30c) of the compiler appears to be free. The free version runs on MSDOS only.


ACC C Compiler





This is an MSDOS compiler that handles a subset of the C language with some extensions (eg the #asm directive for inline assembler). Floating point is not supported. It generates protected mode 32 bit assembler code, which you will have to assemble and link using the supplied A86 assembler and linker. A copy of the DOS extender will also be embedded into your application.


CINT C and C++ Interpreter





This is a C/C++ interpreter that comes with source code. It can be compiled and used on a large variety of Unices, including HP-UX, Solaris, SunOS, AIX, Alpha/OSF, FreeBSD and Linux, as well as Windows NT. You can even issue system calls from the interpreter (such as Posix calls on Unix or Windows API calls from Windows). It accepts most of K%26amp;R and ANSI C and is close to the standard C++ (at the time of this writing). As with all interpreters, it may be useful in debugging programs or learning the language.


SDCC C Cross-compiler





This is a C cross-compiler that targets the Intel 8051, Maxim 80DS390 and the Zilog Z80 based MCUs. It can also be retargetted for other 8 bit MCUs or PICs. It comes with a retargetable assembler and linker, a source level debugger and a simulator, and it is capable of a variety of optimisations. Source code for the compiler is available under GPL. Host platforms supported include Linux, Windows, Mac OS X, Alpha, Sparc, etc.


CC386 C Compiler





This is a 32-bit MSDOS ANSI C compiler that comes with a runtime library, linker, rudimentary debugger, DOS extender and a make utility. Source code is also available.


CC65 C Cross-Compiler





A cross-compiler for the 6502 that is a derivative of the Small C compiler. It runs on Win32, DOS, Linux and OS/2. It generates binaries for the Commodore C64, C128, C16, C116, Plus/4, and the 600/700 family of compilers. You can also use an emulator (linked from their web page) to emulate many different CBM machines from Linux.


Cygwin Project (C %26amp; C++ Compilers)





This "project" includes a commercial quality compiler (GNU C/C++) that generates Win32 GUI and console applications. I have not used this port myself, but based on what I read, it appears that they have their own %26lt;windows.h%26gt; and so on. Source code for the compiler, libraries and tools are provided. Note that the default option in this package forces you to distribute your source code if you compile and link with their libraries. There is also a special option that you can invoke which will cause it to link with alternative libraries, allowing you to distribute your applications without sources. It appears that the free version has not been updated for some time now.


LCC-Win32 C Compiler





This is a C compiler that generates Win32 GUI and console applications. It comes with its own linker, IDE, debugger, resource editor and resource compiler. LCC-Win32 is based on the LCC compiler (see elsewhere on this page).


LCC - A Retargetable Compiler for ANSI C





LCC is a C compiler (source code only) that generates code for the Alpha, Sparc, MIPS R3000 and Intel x86. There is also a book A Retargetable C Compiler written by the authors of the compiler that explains the code of the C compiler. This compiler is the basis of at least 2 other Win32 C compilers (also listed on this page).


Pacific C Compiler





This is a MSDOS C compiler that comes with a development environment. You can distribute programs compiled with the compiler freely.


ATTOC C Compiler





A MSDOS based C compiler that generates assembly language files. You can use either MASM or TASM to assemble the generated file. I'm not sure if there are any libraries or headers included (you have to check it out yourself).


Leonardo IDE





Leonardo IDE is a Macintosh-based IDE, compiler and debugger for C programs. The Windows and Linux ports are said to be under development. It has a syntax highlighting editor, an ANSI C compiler, a compiler for the ALPHA visualization language, a graph editor, a reversible virtual CPU, etc. Note that the programs are not compiled to native code but to code to be executed for the virtual CPU. The virtual machine and debugger allows you to execute code forwards and backwards and supports multitasking. The IDE comes with animated algorithms, plus example source code for games like Tetris, Checkers, etc. The IDE is useful for checking and debugging your source code, search for memory leaks, etc. Update: this project has been discontinued.





Download


http://www.thefreecountry.com/compilers/...





********





http://www.acms.arizona.edu/education/op...





********





his page is divided into 4 sections (some may be added in future).





1°)Free compilers (with source code)





2°)Compiler construction toolkits





3°)Tutorials and articles





4°)Links to compiler-related sites





1°)Free compilers





Here is the free compilers list. If you want to add a new one to this list, click here.





Turbo Pascal and Turbo C: Borland has released for free version 1.0, 3.2 and 5.5 of its famous Turbo Pascal.





Dev-Pascal : Free IDE and compiler for Pascal (with Free Pascal).





Dev-C++ : Free IDE and compiler for the C and C++ languages. Delphi and C source code available.





SmallC : Small C compiler written by J. E. Hendrix. C source code included.





BCX : Very powerful and easy to use system which generates C code capable of compiling under Lcc-Win32 and MingW32 (or Dev-C++) without any modification. It also comes with a resource translator which can read MS resource's code and produce code in C (Win32).





CoPascal : Co-Pascal is an extension of the Pascal-S compiler developed by N. Wirth. Pascal source code included.





P32 : Pascal compiler. Currently in development but works great. Pascal source included.





PowerPascal : Power Pascal is a fully 32-bit, native Pascal compiler for OS/2 2.0 or better. Pascal source included.





Djgpp : THE free compiler for c, c++, forth, pascal and more including C sources.





TinyPascal : A small implementation of the Pascal language. Full Delphi sources included.





Free Pascal : 32-bit Pascal compiler for Dos, Linux, OS/2. Pascal source code included. Used in Dev-Pascal.





ScriptBasic : Free embeddable and extendable scripting basic interpreter with full C source code. Tested on Windows NT and on Linux.





LCC-Win32 : a free compiler system for Windows by Jacob Navia.





lcc : lcc is a retargetable compiler for ISO Standard C. It generates code for the ALPHA, SPARC, MIPS R3000, and Intel x86 and its successors.





Yabasic : Small basic interpreter (with source code for Visual C++ 6) for Windows and Linux





Pacific C for DOS : Freeware version for MSDOS of a professional C IDE/compiler shareware





TopLogo++ : This is an IDE/compiler tool for developers and scientists. The package includes full documentation, Compiler IDE, demos, help etc...





JavaTM 2 SDK : JavaTM Software Development Kits and Runtimes





XBasic : interactive program development environment, advanced 32-bit/64-bit BASIC, interactive graphical GuiDesigner, multi-platform portable source code, Windows95 - Windows98 - WindowsNT - Linux - UNIX





XSCompiler : This MSDOS compiler generates 32-bit protected mode programs from a language that is C compatible, but includes classes and multiple inheritance. It comes with the standard C library, graphics, sound, multitasking, compression, animation, GIF, PCX, FLI/FLC, and other libraries. The compiler itself is compiled using this language.





GNAT : GNAT is an Ada95 compiler with the source code available in Ada95.





Rapid-Q : Rapid-Q is a free IDE and BASIC op-code compiler system for Win32, Linux, Unix... It is very easy to use and to integrate with many other goodies like mySQL, cgi, DirectX, Direct3D, GTK ...





Mingw : A very good Win32 port of the GNU GCC compiler (used in Dev-C++)





Cygwin : Another free and good Win32 port of GCC and GNU Utils





GCC : THE one and only GCC compiler system. Runs on nearly any system.





Phoenix/Envelop : Rapid Development under Basic.





B++ : B++ is a BASIC compiler built on top of C++ - it converts BASIC code to C++, and then calls C++ compiler to produce EXE (or DLL). Source code is in Free Pascal.





GNU Ada : Free ADA compiler.





Dev86 / BCC : x86 C/Assembler development tools (C compiler, assembler, linker). Under the GPL. Linux and DOS binary distributions available.





http://www.digitalmars.com : FREE C/C++ Compiler for DOS, Win %26amp; NT by theauthor of Zortech C++ .





Virtual Pascal : A tool of choice for 32-bit cross-platform development using the Pascal language. It is compatibile with Borland Pascal and Delphi, including the Run-Time Library (RTL), an optimizing compiler, a powerful integrated debugger, and comprehensive online documentation.





PlugSys Xbase compiler : PlugSys has a free edition and a Professional edition on their web site. It is a character based compiler for the Xbase(dbase, clipper) language. There are both DOSWin95/98/NT and Linux version. Same code compiles on either system. Also has a server page tool (free and pay versions). The documentation that comes with the download is great. Free version only requires registration to download.





Context programming language : Simple programming language and compiler for MS-DOS with sources and sample programs on it's own input language by Andrei V. Khokhlov





Babya : B++ compiler for DOS with setup and Windows 9x support.





OpenWatcom : Open Watcom is a joint effort between SciTech Software, Sybase®, and a select team of developers, which will bring the Sybase Watcom C/C++ and Fortran compiler products to the Open Source community.





Self : A port of a compiler for the Self programming language to Linux. The system was originally developed at Stanford University and Sun, and it forms the technological base of the Java Hotspot compiler. A nice GUI is included.





SmallEiffel : The GNU compiler for the Eiffel language. Requires an ANSI C compiler. Supports AIX, Amiga, BeOS, BSD, Cygwin, MSDOS, FreeBSD, GNU/Hurd, GNU/Linux, HP-UX, IRIX, MacOS, NetBSD, NeXT, OS/2, OSF1, QNX, SCO, Solaris, OpenVMS, Windows 95/98/NT/2K and XENIX.





Inno Pascal : Inno Pascal is a simple Pascal compiler for Win32. It produces compact, native-code x86 executables without requiring any external assemblers or linkers. It was written entirely from scratch; it is not based on any other existing compilers. Full source code is included under the GPL license.





Harbour Project : Harbour is an Open Source Clipper Compatible Compiler. It includes OO extentions, and lots of useful adds. The Licence is GNU+Harbour Exception, what means that the licence does not infects the programs you produce with the compiler.











2°)Compilers construction toolkits





Here is the compilers construction toolkit list. If you want to add a new one to this list, click here.





Bison and Flex : Yacc and Lex clones. Creates parsers and scanners for compilers.


TPYacc and TPLex : Port of the Yacc and Lex tools to Turbo Pascal. This tools creates parsers and lexical scanners for compilers.


Coco/R : Coco/R combines the functionality of the well-known UNIX tools lex and yacc, to form an extremely easy to use


compiler generator that generates recursive descent parsers. Available versions ( Oberon, Modula-2, Pascal, Delphi, C and Java) for more info see http://cs.ru.ac.za/homes/cspt/cocor.htm


antlr : another tool for language recognition Tool written in Java for generating recognizers in Java or C++. No money required for use, but download requires online registration for authors tracking purposes. Runs with SUN Java SDK.


Delphi Compiler Generator : Runs on Win32 only, written in Delphi, source code included. Free (as in "free beer", not "free speech") for non commercial use


GENTLE Compiler Construction System : This compiler construction tool purports to provide a uniform framework for language recognition, definition of abstract syntax trees, construction of tree walkers based on pattern recognition, smart traversal, simple unparsing for source to source translation and optimal code selection for microprocessors. Note however that if you use it to create an application, the licensing terms require that your applications be licensed under the GNU GPL.


Jacc : Jacc is a general-purpose parser generator that given a LALR(1) context-free grammar generates the source(s) of a C++ class that implements a parser for the language defined by the grammar. Jacc has a robust and powerful semantic value type system that allows the user to benefit by the OO language environment. Another innovative feature is its customizable code generating back end - the Jamp macro processor which generates the final sources based on a template file and attributes defined in the jacc grammar file. This way the user has better control to the style and structure of the generated code.





3°)Tutorials and articles





Here is the tutorials and articles about compiler writing. If you want to add a new one to this list, click here.





Let's build a compiler : A very good tutorial on writing a simple compiler in 16 articles. By Jack W. Crenshaw.


Parsing techniques : Free book to download in postscript or pdf about parsing techniques.





4°)Links to compilers related sites





Compilers.net : Directory and search machine on compilers and programming languages


Free compilers list : Lots of links about compilers and construction tools. One of the best !


The comp.compilers archive : Archive of the comp.compilers newsgroup.


http://www.dunfield.com/downloads.htm : "C" compiler and related files


Free BASIC translators : Free BASIC Translators Home Page


The Free Country - Developer City : Free programming resources including compilers.


Free developer resources : List of free developer resources like: compilers, setup programs, patch makers, and more.


DevLibrary : Huge programming web site with hundreds of tutorials and files on several languages.


http://cspt1.cs.ru.ac.za/compilers/ : An introduction in C++ to Compilers and Compiler Generators.


http://www.dreamwater.org/jamesfox/fciwi... : An index to many free compilers and interpreters for Windows.


http://www.scriptol.org : List of programming languages and resources: free compilers, IDEs, etc....





http://www.bloodshed.net/compilers/index...
Reply:http://www.turboexplorer.com