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

Sdílet
Vložit
  • čas přidán 29. 08. 2024
  • Support Simple Snippets by Donations -
    Google Pay UPI ID - tanmaysakpal11@okicici
    PayPal - paypal.me/tanmaysakpal11
    --------------------------------------------------------------------------------------------- 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.
    Download Dev C++ IDE : sourceforge.ne....
    Download C++ Android App : play.google.co...
    Simple Snippets Official Website -
    simplesnippets...
    Simple Snippets on Facebook-
    / simplesnippets
    Simple Snippets on Instagram-
    / simplesnipp. .
    Simple Snippets Google Plus Page-
    plus.google.co...
    Simple Snippets email ID-
    simplesnippetsinfo@gmail.com
    For Classroom Coaching in Mumbai for Programming & other IT/CS Subjects Checkout UpSkill Infotech - upskill.tech/
    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
    email - upskillinfotech@gmail.com
    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
    Facebook page - / upskillinfotech
    Insta page - / upskill_infotech
    Google Maps - goo.gl/maps/vj...

Komentáře • 27

  • @SimpleSnippets
    @SimpleSnippets  Před 5 lety +3

    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 ✌

  • @ankurranjanpadhee2398
    @ankurranjanpadhee2398 Před 5 lety +5

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

    • @SimpleSnippets
      @SimpleSnippets  Před 5 lety +1

      Thanks Ankur 😁 I'm glad to hear this from you. I would request you to please share the videos with your friends too 🤟

    • @ankurranjanpadhee2398
      @ankurranjanpadhee2398 Před 5 lety

      @@SimpleSnippets ok broda

  • @abdulmuseeb6532
    @abdulmuseeb6532 Před 3 lety +1

    superb short and easy... outstanding

  • @mariyajustin8419
    @mariyajustin8419 Před 9 měsíci

    Thank uuu👍

  • @masimmaqsood12
    @masimmaqsood12 Před 4 lety +2

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

  • @jamesnash9675
    @jamesnash9675 Před 2 lety

    you are the best..........masum

  • @prashantpatil3088
    @prashantpatil3088 Před 3 lety +1

    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).

    • @Caldermologist
      @Caldermologist Před 2 lety

      Some compilers create c code as a step in making the machine code from a C++ file. Others do not.

  • @ghalibhassan7047
    @ghalibhassan7047 Před 4 lety

    Thanks for the help♥️

  • @AshokVerma-in8ns
    @AshokVerma-in8ns Před 5 lety +3

    Please make videos on link list and stacks

    • @SimpleSnippets
      @SimpleSnippets  Před 5 lety +1

      Hello Ashok, i'll soon be covering complete Datastructures subject soon after I finish this website development course which is currently ongoing on our channel 😇👍

  • @digamberjoshi7901
    @digamberjoshi7901 Před 4 lety +1

    Super bro

    • @SimpleSnippets
      @SimpleSnippets  Před 4 lety

      Thank you so much Digamber 😁 glad to hear this from you 🤘 please do share the video with your friends too 😊

  • @mohamadrizwan4849
    @mohamadrizwan4849 Před 5 lety

    bhai g multifile main programes bnaya karen plzzz

  • @uh564
    @uh564 Před 4 lety +1

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

    • @SimpleSnippets
      @SimpleSnippets  Před 4 lety

      Ji bilkul, main try karta hu ki jitna ho sakey topic ka theory part bhi share karu apne official website par. Ye rahi link - simplesnippets.tech/courses/cpp-programming-tutorials-for-beginners/

  • @juhikundal
    @juhikundal Před 3 lety +1

    🙌🏻🙌🏻

  • @nelsonekomwenrenren5130

    Show an example..

  • @AbhishekVerma-df2vq
    @AbhishekVerma-df2vq Před 6 lety +2

    Bhai Kal wale comment ka reply nhi kiya

    • @SimpleSnippets
      @SimpleSnippets  Před 6 lety +1

      +ABHISHEK VERMA hi Abhishek, please don't post comments irrelevant to the video buddy. You can post questions on the FB page or insta page also. ✌️😇 Will surely try to respond there

    • @AbhishekVerma-df2vq
      @AbhishekVerma-df2vq Před 6 lety

      Simple Snippets
      Okay buddy. No problem. I am not using Facebook, Instagram. I only use Twitter.

    • @SimpleSnippets
      @SimpleSnippets  Před 6 lety

      You can send messages to this channel separately on youtube itself. So try communicating that mode when the doubts are not relevant to the videos. Also about that android question, yes you can add a webview to the main activity and load your blog on the launch event.

    • @AbhishekVerma-df2vq
      @AbhishekVerma-df2vq Před 6 lety

      Simple Snippets
      Thanks tanmay Bhai. :)