C++ Basics: How C++ Works!

Поділитися
Вставка
  • Опубліковано 4 жов 2024
  • It is really important to learn how code is executed to give you the expected results because then, you will be able to visualize any problem you face and understand the results easily. This video will give more than enough knowledge to understand how the simple Hello World Program works. Although it is the most basic program, there are a lot of things to understand and even, big things are built block by block. Hence, let's give this a shot and find out what's so important when making a C++ program.
    So to give a brief, our program is made up of a few parts. First, we have a preprocessor statement. This is an instruction given to the compiler that we need all the content from the iostream file. Hence, the compiler copies and pastes all of the content into our source file. Then using the code in that file, we can write cout statements. cout is an object and what we do is we feed the object with data and then the object has an overload to output the data we provided into the console.
    ◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼
    🔴 My Original Rig: 🔴
    ▶Intel i7 9700F : amzn.to/3fBW4RY
    ▶HyperX Fury 16GB 2666MHz DDR4 : amzn.to/2SNTxun
    ▶GIGABYTE GeForce GTX 1650 Windforce OC 4G Graphics Card : ▶amzn.to/2WHfmNq
    ▶WD Blue SN550 1TB NVMe Internal SSD : amzn.to/3fIL6dN
    ◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼
    ❌ DO NOT CLICK THIS!!! ----- bit.ly/youtube...
    ◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼ ⚠️STOP WASTING TIME ON⚠️
    • Channel Management
    • Creating Thumbnails
    • Keyword Research
    • Adding Info Cards
    • Optimizing Videos
    • Managing Comments
    • AND A LOT MORE
    TubeBuddy is here to do all that for you!!
    If you're a content creator like me and would love to speed up your workflow and target promotions, click this link and install the TubeBuddy Extension for FREE!
    www.tubebuddy....
    ◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼
    Useful Links
    Blog: www.scbr.ml
    Writing the Hello World Program in VSCode: • C++ Basics - Hello Wor...
    Introduction to Programming: • C++ Basics: Introducti...
    A Quick Run through the Language: • C++ Basics in ONE HOUR!
    ===========================================
    Watch the Previous Video:VSCode - Writing Hello World: • C++ Basics - Hello Wor...
    Also Watch the Entire Playlist: • C++ Basics in Sinhala ...
    ==========================================
    Get Social
    Facebook: (PAGE) / scibersl
    (GROUP) / programmingsrilanka
    Instagram: / scibersl
    ==========================================
    Visit Us : www.cyberweb.ga
    for any useful material including project files and software downloads.
    Download Scorthut : www.cyberweb.ga...
    Make sure to comment down your ideas below!
    OR, you can mail me via,
    mailto:
  • Наука та технологія

КОМЕНТАРІ • 17

  • @thusalseniya7959
    @thusalseniya7959 Рік тому +1

    Niyamai bro godak watinwa❤

  • @GodOfWar-ed3kt
    @GodOfWar-ed3kt 3 роки тому +1

    niyamai

  • @pasinduprabashwara7595
    @pasinduprabashwara7595 4 роки тому +1

    Woooooooooooooooow patta video eka 😺

  • @sachinkolla76
    @sachinkolla76 4 роки тому +1

    Good Job

  • @ravinduprabhashwara6141
    @ravinduprabhashwara6141 10 місяців тому

    Good work..🌹

  • @senuralakshan1499
    @senuralakshan1499 4 роки тому +1

    පට්ට 😍

  • @dinushachathuranga7657
    @dinushachathuranga7657 Рік тому

    Thanks a lot

  • @RISInoob.
    @RISInoob. Рік тому

    nice bro ❤

  • @ideastore2138
    @ideastore2138 3 роки тому +1

    Superb🔥

  • @SenakaUdapitiya1
    @SenakaUdapitiya1 Рік тому

    great

  • @WataPita-n1q
    @WataPita-n1q Рік тому

    #include
    using namespace std;
    int main()
    {
    cout

    • @wearesciber
      @wearesciber  Рік тому

      its just a good practice when writing C++ code seen among many professionals. There is no problem if you are just using the standard library. But since a lot of other libraries have this std namespace names get conflicted when you try to compile the code if you use using namespace std. Actually I feel like you should watch this video from TheCherno which is far more detailed and much better of an answer for your question: ua-cam.com/video/4NYC-VU-svE/v-deo.html

    • @WataPita-n1q
      @WataPita-n1q Рік тому

      @@wearesciber ❤ Thanks Bro

  • @bruh2598
    @bruh2598 2 роки тому

    file 2k include karanna one nam ethanama ,k dala file deke nam dammama harida?

  • @chandimatrishan9753
    @chandimatrishan9753 3 роки тому

    👍👍👍👍

  • @dumindubandara9505
    @dumindubandara9505 Рік тому

    Thank you

  • @gadgetkid9723
    @gadgetkid9723 Рік тому

    CUPIRI😍