Execution Process of a C++ Program | C++ programming for beginners

preview_player
Показать описание
Support Simple Snippets by Donations -
--------------------------------------------------------------------------------------------- In this video tutorial we will study and understand the working of the execution process of a C++ program.
This is a theoretical video and we will see what happend behind the scenes when we compile and run a C++ program.

Execution of a C++ program involves four stages using different compiling/execution tool, these tools are set of programs which help to complete the C++ program's execution process.
Preprocessor
Compiler
Linker
Loader
These tools make the program running.

Preprocessor - This is the first stage of any C++ program execution process; in this stage Preprocessor processes the program before compilation.
Preprocessor include header files, expand the Macros and other Constants declared with # sign.

Compiler - This is the second stage of any C++ program execution process, in this stage generated output file after preprocessing ( with source code) will be passed to the compiler for compilation.
Complier will compile the program, checks the errors and generates the object file (this object file contains assembly code).

Linker - This is the third stage of any C++ program execution process, in this stage Linker links the more than one object files or libraries and generates the executable file.

Loader - This is the fourth or final stage of any C++ program execution process, in this stage Loader loads the executable file into the main/primary memory.
And program runs.

Simple Snippets Official Website -
Simple Snippets on Facebook-
Simple Snippets on Instagram-
Simple Snippets Google Plus Page-
Simple Snippets email ID-

UpSkill is an Ed-Tech Company / Coaching Centre for Information Technology / Computer Science oriented courses and offer coacing for various Degree courses like BSc.IT, BSc.CS, BCA, MSc.IT, MSc.CS, MCA etc.

Contact via email /call / FB /Whatsapp for more info

We also Provide Certification courses like -
Android Development
Web Development
Java Developer Course
.NET Developer Course
Check us out on Social media platforms like Facebook, Instagram, Google etc
Рекомендации по теме
Комментарии
Автор

Hey Guys, if you want more such tech educational videos on this channel then please support me by subscribing to this channel & also share it with your friends as it helps me create more content just for you ✌

SimpleSnippets
Автор

I really like all ur videos .... Really clearing by basic fundamentals, 😊😊

ankurranjanpadhee
Автор

In C programming, c code gets converted into assembly language code and then machine code, so does this happen in c++ also or not? (As you said cpp code gets converted into machine code).

prashantpatil
Автор

Please make videos on link list and stacks

AshokVerma-inns
Автор

Assalam o alikum sir,
Sir kindly ap se request krni thi k please ap aik video composition r aggregation pr b bnain.Thanks.

masimmaqsood
Автор

sir agar ho saqa to ya theorey bhi description ma da diya karo ap na kafi axha taraqa sa liqhi ha

uh
Автор

bhai g multifile main programes bnaya karen plzzz

mohamadrizwan
Автор

Bhai Kal wale comment ka reply nhi kiya

AbhishekVerma-dfvq