C++ is written using a text editor. This can be notepad or an IDE like those supplied with the three compilers listed above. You write a computer program as a series of instructions (called statements) in a notation that looks a little like mathematical formulas.


 int c=0;
 float b= c*3.4+10;


This is saved out in a text file and then compiled and linked to generate machine code which you then can run. Every application you use on a computer will have been written and compiled like this, and many of them will be written in C++. Read more about compilers and how they work. You can't usually get hold of the original source code unless it was open source.
Designed By Blogger Templates | Templatelib & Distributed By Blogspot Templates