Lambda expressions in modern C++ (in depth step by step tutorial)

Sdílet
Vložit
  • čas přidán 29. 08. 2024

Komentáře • 224

  • @CodeBeauty
    @CodeBeauty  Před 2 lety +30

    📚 Learn how to solve problems and build projects with these Free E-Books ⬇️
    C++ Lambdas e-book - free download here: bit.ly/freeCppE-Book
    Entire Object-Pascal step-by-step guide - free download here: bit.ly/FreeObjectPascalEbook
    🚀📈💻🔥 My Practical Programming Course: www.codebeautyacademy.com/
    Experience the power of practical learning, gain career-ready skills, and start building real applications!
    This is a step-by-step course designed to take you from beginner to expert in no time!
    💰 Here is a coupon to save 10% on your first payment (CODEBEAUTY_YT10).
    Use it quickly, because it will be available for a limited time.

  • @coefficient1359
    @coefficient1359 Před 2 lety +56

    I have asked for this topic like 7 months back and now got it. Thank you.

  • @abelashenafi6291
    @abelashenafi6291 Před rokem +6

    The beauty about your videos is, I always watch them to learn something I initially intended to but, I always end up learning some extra things. Thanks for that. You're awesome

  • @SAURABHJAIN1989
    @SAURABHJAIN1989 Před 2 lety +6

    You are the best C++ Lecturer in CZcams. You explain the topic with the example, including all other special features of C++. Like in this "lambda function" example, you also included 'Standard Template Library' vector and algorithm. That really connects with the real coding problems and uses of all other important features of C++.
    Thank you for teaching us, all these things :)
    Thanks a lot :)

  • @sunghunet
    @sunghunet Před 2 lety +3

    Today, I first learned lambda function of C++.
    I learned from the best. (Whitney's one of my favorite songs)!!

  • @luisfernando3405
    @luisfernando3405 Před rokem +1

    Hi, I'm from Brazil and a developer beginner but with much years at development using C++; Your channel is my favorite font to learning c++ and english; This is terrific. 🚀🚀

  • @l.p.1967
    @l.p.1967 Před 2 lety +17

    The best explanation, I need this video a lot, thank you CodeBeauty!!❤

  • @gollygobih6527
    @gollygobih6527 Před 2 lety +13

    Saldina you are the best as always ❤❤❤

  • @hilgicamala2520
    @hilgicamala2520 Před 2 lety +5

    You are so talented for teaching, the best teacher ever!

  • @voseAKUMA
    @voseAKUMA Před 2 lety +5

    Im learning c++ on udemy and I always come to your videos for second help. you always have a great way if explaining these concepts . Thank you for posting these videos. for real!

  • @glee21012
    @glee21012 Před 2 lety +1

    The best explanation of Lammdas I have seen, not filled with computer science geek mumbo jumbo those guys love to spew.

  • @phoebewell3653
    @phoebewell3653 Před 2 lety +10

    this video is so easy to understand, love it

  • @j.r.waheed4610
    @j.r.waheed4610 Před 2 lety +1

    Thank you. Best C++ lambda introduction I have seen thus far.

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

    Perfect timing! We are covering Delegates and Lambdas this week in my C# course.

  • @adhaarsharma753
    @adhaarsharma753 Před 2 lety +1

    Exactly what I was looking for. Best channel for C++

  • @bimblebom
    @bimblebom Před 7 měsíci +1

    Never had a full grasp of lambdas until I watched this video! Thanks beautiful lady 🙂

  • @rupakdutta5577
    @rupakdutta5577 Před 2 lety +5

    I was struggling with this topic since yesterday.. it's all clear to me now! Glad I came across your video..Thank you CodeBeauty, Keep making such videos!

  • @milkamilkica1935
    @milkamilkica1935 Před 2 lety +11

    love your videos

  • @tirushsanju2917
    @tirushsanju2917 Před 2 lety +8

    Nice job madam. Thank you so much.🤩🤩🤩❤️❤️❤️

  • @crazylongjumper95
    @crazylongjumper95 Před rokem

    I have a biomedical engineering master degree, and I decided to learn C++ in the best possible way.
    Thank you so much for existing.

  • @marym9003
    @marym9003 Před 2 lety +7

    These books are amazing, thanks for sharing free resources with us Saldina ❤️

  • @yairfink2368
    @yairfink2368 Před 2 lety +2

    I love the way you teach the lesson, and in general your lessos are very helpful. Thank you very much.

  • @AdrianR.Calimag
    @AdrianR.Calimag Před 4 měsíci +1

    Thanks for this lesson. I really need to learn this for our management project. Great teaching as always❤

  • @meem71
    @meem71 Před 2 lety +8

    I finally understood that! Thanks!

  • @joebosah2727
    @joebosah2727 Před 2 lety +5

    Thank you so much

  • @charltonmurphy7950
    @charltonmurphy7950 Před 2 lety +2

    This video is awesome! Thank you I have a better understanding now. I am a struggling student and your videos help out greatly

  • @DaleDix
    @DaleDix Před 2 lety +3

    First time it's ever really made sense to me. Thanks!

  • @ZeroCool2211
    @ZeroCool2211 Před 2 lety +6

    So useful and simple.. thank u Saldina 🌷

  • @BasicPoke
    @BasicPoke Před 8 dny

    Well-done explanation of lambdas. Thank you.

  • @irfanjames6551
    @irfanjames6551 Před 2 lety +14

    15:51 You can change the value (only in lambda function) by typing "mutable" between the circle and curly brackets.
    This way you don't have to change the variable in bigger scope by passing with reference.
    Disscussed in Cherno's video on lambdas czcams.com/video/mWgmBBz0y8c/video.html

    • @emaayan
      @emaayan Před rokem

      yea i should have gone to cherno to learn about lambdas, cause she defined only function pointers in signatures.

  • @anga6275
    @anga6275 Před 2 lety +5

    thank you! :)

  • @sabinanurak9633
    @sabinanurak9633 Před 2 lety +6

    Very nice! 👍

  • @409_manohar6
    @409_manohar6 Před 2 lety +13

    Hi mam

  • @MegaAtlus
    @MegaAtlus Před 2 lety +1

    Isn't it a coincidence? I just started using lambdas in C++. Thanks;)

  • @raychou8719
    @raychou8719 Před rokem +1

    lambda confused me for almost 1 month and i always tried to not read thos code written by lambda untill i watched your video. Thanks so much.

    • @CodeBeauty
      @CodeBeauty  Před rokem

      I'm so happy that it helped you ☺️ 🤗

  • @Farzadx-65
    @Farzadx-65 Před rokem

    Thanks. Very nice and clear teaching. From Iran 💐

  • @yashgarg6871
    @yashgarg6871 Před 2 lety +1

    This is my first time visiting this channel and definitely learned something new, Thank you for the tutorial

  • @alokranjan
    @alokranjan Před 2 lety

    you explained lambdas so simply and beutifully

  • @iaroslavz2644
    @iaroslavz2644 Před rokem +1

    Thank you very much. It was very good explained.

  • @chifuyuu1690
    @chifuyuu1690 Před 2 lety +12

    3rd~!

  • @ChrisVideosGreek
    @ChrisVideosGreek Před 2 lety +1

    This book deserves more than a thank you! Really useful!!!

  • @ahmetcelik6686
    @ahmetcelik6686 Před 2 lety +7

    You are the best lady you should know that.

  • @naanpizza3881
    @naanpizza3881 Před rokem

    wow i never comment on videos but this simple explanation honestly blew my mind! thank you so much

  • @petkopopov2823
    @petkopopov2823 Před rokem +1

    exelent , learn match more then the course (expensive and to my lang) ! great thanks :)

  • @sahilpawar3768
    @sahilpawar3768 Před 8 měsíci +1

    You cleared my basics very well thank you ..!

  • @citoyennumero4434
    @citoyennumero4434 Před 2 lety +2

    Des explications claires et simples ! Je vous remercie beaucoup

  • @marswalker4512
    @marswalker4512 Před rokem

    @CodeBeauty You're really a great teacher. Thank you so much for the classes. Really helpful. Please keep on making videos. God bless you!

  • @B3rT286
    @B3rT286 Před 4 měsíci +1

    Thank you for an amazing explanation

  • @christiancarter255
    @christiancarter255 Před 2 lety +1

    I like your pronunciation of "parameter". :)

  • @bomabeyoncebobmanuel9096

    Nicely explained. Thank you very much!🥰

  • @shellongchow99
    @shellongchow99 Před 2 lety +1

    Great description!Thank you!

  • @notmyopinion4981
    @notmyopinion4981 Před 2 lety

    Hi, I am trying to learn C++ and did watch your learn c++ in 10h FULL COURSE video for beginners and I would like to start with lambda expressions next, since I need it for an assignment for next week(yes I know, lucky me you uploaded this just today :D). You have a lot of videos about different topics regarding C++, stuff that wasn't in your 10h C++ video, so I was curious if I need to watch any other videos before learning about Lambda expressions. It would mean a lot if you could make a playlist which does include all your videos about C++ in the intended order from easiest(beginner) to difficult(advanced). That would mean so much for people like me who want to know it all!!! :)

  • @SilentReader99
    @SilentReader99 Před 2 lety +1

    Thankyou so much...😍Good explanation...It will be helpful for my presentation..😄 please do more videos..

  • @whiteheart3190
    @whiteheart3190 Před 2 lety

    Thanks aloooooooooooot for explaination , quiet and concentrated
    I hope you go forward

  • @cavesalamander6308
    @cavesalamander6308 Před rokem

    C++ Builder?! Hi, colleague! Шt's nice to unexpectedly meet such a rare specimen who is still working with the С++ Builder. But I still use CB2007 (C++99) due to a lot of strange things in many last versions... The very last release looks more acceptable so perhaps it's time to move forward... Thank you for video.

  • @MaiNgocDoan1809
    @MaiNgocDoan1809 Před 2 lety +1

    Well I love to see more topics about morden c++ like that

  • @Frammqooh1234
    @Frammqooh1234 Před 2 lety +1

    GREAT video !! thank you again for another video !

  • @nv9usb381
    @nv9usb381 Před 2 lety +11

    ❤❤

  • @OzzFan1000
    @OzzFan1000 Před 2 lety +1

    Damn that's a handy tool to have! Looks like Lambda expressions can get pretty complex pretty quick though.

  • @patrickmayer9218
    @patrickmayer9218 Před rokem +3

    Just out of curiosity, what is the difference between the variables in the [ ] capture clause and the () parameters?
    And great job with the video, top notch stuff! :)

  • @MartyAckerman310
    @MartyAckerman310 Před 7 měsíci

    So pretty much just like Python lambdas, they're used as "throwaway" functions. Thanks for the practical example.

  • @nvroshni1546
    @nvroshni1546 Před rokem

    Thank you! it was quite helpful!

  • @BizTechLife
    @BizTechLife Před 2 lety +1

    I love your tutorials.😍 feedback: can yo please zoom in the code area? You can remove the folder and class structure views in VS. Thanks 😊 🙏 🤗

  • @learntocode5464
    @learntocode5464 Před 2 lety

    Thanks, cool and simple explanation

  • @nopecharon
    @nopecharon Před 2 lety +1

    Thanks for this awesome lecture!

  • @kamertonaudiophileplayer847

    It is the best lambda definition in C++ so far.

  • @arnaresh462
    @arnaresh462 Před rokem +1

    Dear mam u r brilliant

  • @truecodeface
    @truecodeface Před 2 lety

    I am watching all the vides , thanks a lot about your programming productions, i would like to say that
    one of my important problem is still unsolved on your side.
    and that one is (MY REFUGEE REQUEST AND GETTING ME OUT OF AFGHANISTAN).
    again thanks a lot,
    your SUBSCRIBER Nasrullah Kuhzad from Afghanistan.

  • @zodiacdeggs1859
    @zodiacdeggs1859 Před rokem

    Thank you from Beirut

  • @janmajaykumar131
    @janmajaykumar131 Před 2 lety

    All of your videos are extremely important for the beginners like me. I learned a lot from these. Only one catch, beginners like me need a bit more practice problems and as well as a bit more theoretical explanation. Would you recommend some book on c++ which is very close to your lecture spirit or which you find suitable for learning cpp with practicing more? I will be grateful to you for your kind act.

  • @darkferiousity
    @darkferiousity Před rokem

    Hi codebeuty love your videos thank you very much! Just a tip im not sure if it works in vscode, but in notepad++ you can highlight and hit cntrl+k to comment out all of that code. You can uncomment it by highlighing and cntrl+shift+k. Also you can overwrite a line by highlighting it and using paste directly on it with cntrl+v. If you want to select multiple lines with the cursor to tab several lines etc you can hold shift alt and left click down each line you want to have a multicursor really handy. :)

  • @newvocabulary
    @newvocabulary Před rokem

    Good explanation, thanks.

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

    Very well explained

  • @AM-ku9cw
    @AM-ku9cw Před 2 lety +1

    thank you Saldina for the perfect explination

  • @BHARATHKUMAR-gr9km
    @BHARATHKUMAR-gr9km Před rokem

    osm explanation and detailed info. good job thank you

  • @TKcKoucher
    @TKcKoucher Před rokem

    Excellent content!

  • @remydepoorter6226
    @remydepoorter6226 Před 2 lety +1

    Hello from Belgium

  • @juncaoazgmail
    @juncaoazgmail Před rokem +1

    Very well explained. Even as a PhD in Computer Science myself, I learned a great deal of programming details from CodeBeauty. Job well done!

  • @chandrashekharswain7593

    Thanks, Great Teaching..

  • @kavyahegde3586
    @kavyahegde3586 Před měsícem +1

    New subscriber for you ma'am
    Thank you

  • @satyajeetkumarjha1482
    @satyajeetkumarjha1482 Před 2 lety

    Excellent stuff and you make things look easy.

  • @sreenadhpottipati9978
    @sreenadhpottipati9978 Před rokem +1

    Great, thank you CodeBeauty

  •  Před 2 lety

    saldinaaaaaaaaaaaaaaaaaaa! you are a great teacher. absolutely you are the best!!!!! thanks a lot!!!!!!!

  • @purduetom90
    @purduetom90 Před 2 lety

    Your videos are great! Thank you!

  • @chrischoir3594
    @chrischoir3594 Před rokem

    this is a great tutorial

  • @KostopravHD
    @KostopravHD Před 2 lety

    perfect tutor and perfect lesson. Thank you!

  • @FJProject
    @FJProject Před rokem +1

    7:02 - This kind of structures (classes) with overloaded operator() are called Functors.

  • @ABHISHEKSINGH-ib9ug
    @ABHISHEKSINGH-ib9ug Před 2 lety

    Thank you for this very informative and beautiful video, CodeBeauty

  • @hailemariameyayu9450
    @hailemariameyayu9450 Před 2 lety

    you are briliant thanks.

  • @QuimChaos
    @QuimChaos Před 2 lety

    damn you! why did i found you in youtube... now i'm hooked by your videos

  • @deneristargerian6755
    @deneristargerian6755 Před 2 lety +8

    ❤❤❤❤❤❤

  • @rounakchakraborty5176
    @rounakchakraborty5176 Před 2 lety

    Good video. Learned a lot. Thank you❤.

  • @doublej118jc
    @doublej118jc Před 2 lety +2

    Hi Saldina. Do you plan on offering a future series on C++ templates?

    • @danielkoziarski8488
      @danielkoziarski8488 Před 2 lety

      And templates with recursion, which need to be equipped with template specialization...
      WTF? 😉
      When an algorithm contains a nested piece of code (eg. nested loop) and requires several versions according to its control structure depth, then it calls for a recursive template solution!

  • @Negijicoder
    @Negijicoder Před 5 měsíci +2

    Amazing..thx

  • @arcanelore168
    @arcanelore168 Před 6 měsíci +1

    More good content like this!

    • @CodeBeauty
      @CodeBeauty  Před 6 měsíci +1

      Join my practical programming course, if you are a Windows PC user, it's the only course you'll ever need to start making real apps 🥰🥰

  • @s4ifbn
    @s4ifbn Před 2 lety

    thank you

  • @rajendranm2204
    @rajendranm2204 Před rokem

    Thanks for the content

  • @balazsstrahl6593
    @balazsstrahl6593 Před 2 lety +1

    Hi Saldina!
    Is it better than writing code in the body of a simple for loop? This is what I never understood about sheep.
    Thanks for the reply!

  • @nastaranheidarysharifabadi4648

    thanku it was really useful.

  • @ghcguitar
    @ghcguitar Před 2 lety +1

    Hi Saldina! Do u have any video about encryption/decryption strings in c++?
    Great video BTW 😁