Hello guys! Welcome back, In my first post I explain all things about C/C++. I hope it will teach you very well. If you have any problem so just tell me.
After that, I explain about execution of a program. First of all, You need an compiler which is used for Make program, edit program, compile program and Run a program.
I know you have a question, that is what is complier & how to install it & which compiler is best. Don't worry you just click on Download compiler at the top and easily install on your computer. That is shown like this:
It called IDE(Integrated Devlopment Environment) screen.
Executing a computer program written in any high-level language such as: C, C++ involves several steps, as listed below:
- Develop the program(source code).
- Select a suitable file name under which you would like to store the program.
- Create the program in the computer and save it under the filename you have decided.This file is known as source code file.
- Compile the source code. The file containing the translated code is called object code file. If there are any errors, debug them and compile the program again.
- Link the object code with other library code that are required for excution. The resulting code is called the executable code. If there any errors in linking, correct them compile the program again.
- Run the executable code and obtain the results, if there are no errors.
- Debug the program, if any errors are found in the output.
- Go to step 4 and repeat the process again.
That's it guys! In my next post I will explain you, How to create a simple program(source code).
thanks for the information.... 👍👍👍👍👍
ReplyDelete