What is C++ Compiler?
A C++ compiler is itself a computer program which only job is to convert the C++ program from our form to a form the computer can read and execute. The original C++ program is called the “source code”, and the resulting compiled code produced by the compiler is usually called an “object file”.Before compilation the preprocessor performs preliminary operations on C++ source files. Preprocessed form of the source code is sent to compiler.
After compilation stage object files are combined with predefined libraries by a linker, sometimes called a binder, to produce the final complete file that can be executed by the computer. A library is a collection of pre-compiled “object code” that provides operations that are done repeatedly by many computer programs.
We'll be Start Using MS Visual C++ v 6.0 , You'll Get It From Here . it'll looks like
1. Now type sample program on Editor , For Example
#include <iostream.h> int main(){ printf("Salam World"); return 0; }
2. Click on Compile button on the top right corner or press CTRL + F7
click Yes
Again Yes
Again Yes
3. Click on Run button (Red question mark) or press Ctrl+F5
4. If there is no error output will be displayed on User Screen.
Before we begin to learn to write meaningful programs in C++ language, You Should Cover the topics i have mentioned in Beginners to advance movement from Sources Like (google these terms) :
- Youtube (New Boston Tutorials)
- Our C++ Ebooks
- StackOverflow
- cplusplus.com/forum
- etc
But for advance techniques HC team will also share you some techniques regarding c++ . See You In Our Next Article In Which We'll Make Our First set of Assignment.
0 Comments :
Post a Comment
Having Confusion ,oH Dear ask me in comments!!