CS101++ - What is a `while` Loop?

Поділитися
Вставка
  • Опубліковано 20 лют 2024
  • ☟☟ Awesome T-Shirts! Sponsors! Books! ☟☟
    Upcoming Workshop: Understanding Object Lifetime, C++ On Sea, July 2, 2024
    ► cpponsea.uk/2024/sessions/und...
    Upcoming Workshop: C++ Best Practices, NDC TechTown, Sept 9-10, 2024
    ► ndctechtown.com/workshops/c-b...
    github.com/lefticus/cpp_weekl... for open ended conversions about CS101++ videos
    T-SHIRTS AVAILABLE!
    ► The best C++ T-Shirts anywhere! my-store-d16a2f.creator-sprin...
    WANT MORE JASON?
    ► My Training Classes: emptycrate.com/training.html
    ► Follow me on twitter: / lefticus
    SUPPORT THE CHANNEL
    ► Patreon: / lefticus
    ► Github Sponsors: github.com/sponsors/lefticus
    ► Paypal Donation: www.paypal.com/donate/?hosted...
    GET INVOLVED
    ► Video Idea List: github.com/lefticus/cpp_weekl...
    JASON'S BOOKS
    ► C++23 Best Practices
    Leanpub Ebook: leanpub.com/cpp23_best_practi...
    ► C++ Best Practices
    Amazon Paperback: amzn.to/3wpAU3Z
    Leanpub Ebook: leanpub.com/cppbestpractices
    JASON'S PUZZLE BOOKS
    ► Object Lifetime Puzzlers Book 1
    Amazon Paperback: amzn.to/3g6Ervj
    Leanpub Ebook: leanpub.com/objectlifetimepuz...
    ► Object Lifetime Puzzlers Book 2
    Amazon Paperback: amzn.to/3whdUDU
    Leanpub Ebook: leanpub.com/objectlifetimepuz...
    ► Object Lifetime Puzzlers Book 3
    Leanpub Ebook: leanpub.com/objectlifetimepuz...
    ► Copy and Reference Puzzlers Book 1
    Amazon Paperback: amzn.to/3g7ZVb9
    Leanpub Ebook: leanpub.com/copyandreferencep...
    ► Copy and Reference Puzzlers Book 2
    Amazon Paperback: amzn.to/3X1LOIx
    Leanpub Ebook: leanpub.com/copyandreferencep...
    ► Copy and Reference Puzzlers Book 3
    Leanpub Ebook: leanpub.com/copyandreferencep...
    ► OpCode Puzzlers Book 1
    Amazon Paperback: amzn.to/3KCNJg6
    Leanpub Ebook: leanpub.com/opcodepuzzlers_book1
    RECOMMENDED BOOKS
    ► Bjarne Stroustrup's A Tour of C++ (now with C++20/23!): amzn.to/3X4Wypr
    AWESOME PROJECTS
    ► The C++ Starter Project - Gets you started with Best Practices Quickly - github.com/cpp-best-practices...
    ► C++ Best Practices Forkable Coding Standards - github.com/cpp-best-practices...
    O'Reilly VIDEOS
    ► Inheritance and Polymorphism in C++ - www.oreilly.com/library/view/...
    ► Learning C++ Best Practices - www.oreilly.com/library/view/...
  • Наука та технологія

КОМЕНТАРІ • 6

  • @lorenzobolis5166
    @lorenzobolis5166 3 місяці тому +3

    I was like "why would he print 'Sason'?! What does it mean?"

  • @evo6789
    @evo6789 3 місяці тому

    I think the initialization and changing of the variable i deserves some more explanation. People that have never programmed before will probably see the statement i=i+1as a math equation and simplify it to 0=1 and think this is just a false statement. It needs to be explained that this evaluates the right side of the equals by adding 1 to the current value of i and then storing it into the variable left of the equals, basically overwriting i with i+1.

  • @piotrekzielinski920
    @piotrekzielinski920 3 місяці тому

    Hi. Why the link in description toward emptycrate does not use https, but uses http?

    • @cppweekly
      @cppweekly  2 місяці тому

      It correctly forwards to the https version. The problem I have is that I cannot get 2 redirects working at once, so I use the http version and it ends up landing on the correct https page when it's done.

  • @maxaafbackname5562
    @maxaafbackname5562 3 місяці тому

    You probably now trigger some people to think about how complicated it can be to print your name...

  • @LegalizeAdulthood
    @LegalizeAdulthood 3 місяці тому +2

    Duh, it's a loop that takes a while