OK, you've asked quite a few questions so far this afternoon/evening on some pretty broad and questionable subjects. On the basis of one of them, this will be the last time I'll respond.
Your other post about programming (in which I replied to you), titled "c++ S.o.S" resulted in links offered by Forum Editor and myself to more information than you could possibly need or even hope to work through.
If you read my bracketed comment from that thread "(Borland do an excellent free compiler)" you have this question answered in full.
Borland produce some of the best programming software on the market today and offer a very useful and usable compiler free for the download.
Searching in Google for Borland+compiler+free results in all the links you could need for both the download and how to use the software, as well as suggestions on the same pages for alternative compilers. I get many of my students to use the free Borland compiler for some of their projects and it works beautifully.
Direct links, assuming you don't want to search the web yourself;
click here click here and here is a useful tutorial for the above linked compiler;
Running a Google search for free C++ compiler will return plenty of alternatives. Or, if you follow one of your other posts from today and install Linux on a computer, it will have several alternative C++ editors and compilers available as installable packages.