C++ Basics: Do While Loop

Поділитися
Вставка
  • Опубліковано 13 сер 2020
  • There are number of instances where we need to run some code in a loop at least once whether the condition is false or not. However, it is also possible with the while loop even. You would just copy and paste the code inside and paste it outside once and the problem is solved. But, this becomes such a tedious issue when it comes to huge codes because maintaining them becomes so hard.
    That's when do-while loops come in. Do while loops are structured so that when the code is executed the body of the loop is executed first and then the condition will be checked. Therefore, this can solve our problem easily.
    We will talk about a practical application of the do while loop and proceed to more advanced programs in the future.
    ◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼
    🔴 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/youtubesubbotislegit
    ◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼ ⚠️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.com/sciber
    ◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼
    Useful Links
    While Loops: • C++ Basics: While Loop
    For Loops: • C++ Basics: For Loop
    ===========================================
    Watch the Previous Video:
    While Loops: • C++ Basics: While Loop
    ==========================================
    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/scorthut.html
    Make sure to comment down your ideas below!
    OR, you can mail me via,
    mailto:
  • Наука та технологія

КОМЕНТАРІ • 31

  • @sithijax2103
    @sithijax2103 17 днів тому

    Thankyou verymuch ❤❤

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

    Thank you

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

    Awesome bro

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

    supiri !

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

    And also what about your other videos

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

    and also if u could refer to me any link for documentation, how to work with forms, obtain data from forms etc, it'd be awesome!! :) thanks for ur videos

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

      Yeah, what I did was, I learned C# a bit and watched those C# GUI vids and other documents... Then I converted the codes to C++ using the concepts in those tutorials...

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

    I am pending

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

    Hi! i have a question for u and i hope you can help me with this, in your past videos about C++ gui i understand that you used C++/CLI with .NET framework, what i dont understand is why there isn't any documentation out there about it, but with C# there's a lot, is C++/CLI deprecated?

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

      reason is actually this kinda not the best way to make apps in c++... c# is preferred with the .net framework... Hence, not a lot of users use this method.. hence lesser documentation.. But still you can find documentation on microsoft docs page.

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

      Same in my case, no videos, no examples I tried Uthena but nothing there.

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

    c++ valin web site hadhanne puluvan nedha puluvan nam e ganath video ekak hadhannako

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

      C++ වලින් web design කරන්නෙ නැ
      වැඩේ පාඩුයි

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

    ayeth build serius eka patan gannako naththan commandline inteface hadhane 70 dhashaketa yanne vei

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

      HaHa, එහෙම කියන්නත් බැ. Command Line වලට කවදත් ලොකු ඉල්ලුමක් තියනව 😎👍

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

      😂😋 ඔව් ඇත්තටම ආයෙ පටන් ගමු 😉

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

      @@wearesciber thanks

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

      commandline ivara une gaman karanna thanks

  • @roninhacked2045
    @roninhacked2045 3 роки тому +2

    Hey
    Can you bring an algorithm and data structures with c++ course ASAP

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

    Bro
    Then can you give me some resources to learn advanced c++ learning and data structures and algorithm in c++