C++ Source Code to Executable | Compilation, Linking, Pre Processing | Build Process Explained

preview_player
Показать описание
In this C++ video tutorial you will learn how c++ works, pre processing, compilation, linking all the steps involved from writing a cpp program to generating the executable file and then running that executable file.

C++ is a general purpose programming language that we can use and write the computer programs.

The code written in any programming language is called as the source code and the code written using the C++ programming language is called as the C++ source code.

C++ source code is saved with .cpp Extension and .hpp extension.

you can write the c++ program by using the cpp standard library and external library( static library or dynamic library )

we directly can’t execute the code that we have written in the C++ programming language because as a programmer we can look at the code and understand what exactly is going on but the computers can only understand the code written in the machine language.

the process of creating an executable file from the source code is called as the build process.

so the first step in the build process in order to create an executable file is preprocessing.
we use a program called as pre processor and this preprocessor is a macro processing program.

Next we need to translate the code to machine code and for that purpose we use a program called as the compiler.

compiler is a computer program that transforms the code written in the higher level programming language to lower level programming language and this process is called as the compilation process.

The assembler will take the Assembly code and it will generate the object code or the machine code.

The linker will take the object files generated, it will link them together and it will generate the executable file.

The loader will load the executable file into the main memory which is the RAM so that the CPU can execute that program.

Get the source code of this tutorial at our website

Watch Video tutorials in HINDI at

#CProgramming #LearningLad

Catch us on Social Media
Рекомендации по теме
Комментарии
Автор

This is the best series for learning c++, THANK YOU VERY MUCH SIR👍

abdulhalimabdullahi
Автор

This is the best C++ video tutorial series available on YouTube. Keep up the good work. Make learning better and easier.

sheikhiqbalkabir
Автор

Thanks for taking out so much time to prepare videos. I am just trying to start to learn C++ and it it just the third video in the series and yet I am getting a thrust. This video especially explains it the way any beginner like would like to understand. Very nicely prepared video.

alekhphadnis
Автор

i'm a non domain person & i was confused abt the build & run process but now i could able to understand the process behind it.And ur explaination was easy to understand .thank you sir

srivasuki
Автор

Very clear and crisp. One of the best videos on build process on the web. Thank you anil and keep doing more

katkushal
Автор

I have looked for video like this for so long. Thanks for great explanation !! That helped me a lot !!

chc
Автор

Amazing explanation my brother recommended me to learn c++ from here. It's really amazing . Your teaching skills are excellent. Sir please make videos on c++ graphic

RamaPranav
Автор

Thanks man. The best c++ tutorial channel I have ever seen.

musicprotocol
Автор

After two months I'm going to appear in campus placement.. Hope this playlist will help me..

jamesjassi
Автор

This is a great series of videos on C++. I remember watching this when I was in uni and my professor had the teaching capability of a potato... It's great the refresh the basics, thanks LearningLad

rga
Автор

it gives a good learning of c++ for beginners thanks for giving us the wonderful video..

shobansangieth
Автор

Nice and neat articulation of how compilers work! Thank you!

meisamadibifard
Автор

love your hard work, it's worth to me :)

pramodkumarkar
Автор

Your channel is best compare to other channels teaching C++ language as I can understand the terms you taught. THANK YOU.

kamleshambaliya
Автор

Very clear and well-organised presentation - thank you!

nickknight
Автор

you are more useful to get the cpp knowledge, thanks a lot

gowreesham
Автор

great series to learn things from scratch

FAISALSHAHZAD-plrk
Автор

God level teaching bro/sir... Hats off !!

karansiriya
Автор

The most excellent teaching video I had ever seen..😊😊
Good job man..👍

kowsicanair
Автор

I can't find this information (that too in the best quality!) in any YouTube video sir! Thank you do much sir 🙏🙏🙏. You have succeeded in providing an overview to me(I mean behind the scenes).

nagame