Function pointers, delegates and callbacks | Beginner friendly

Поделиться
HTML-код
  • Опубликовано: 23 янв 2025

Комментарии • 73

  • @CodeBeauty
    @CodeBeauty  2 года назад +23

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

    • @AliMohamed-jt2kq
      @AliMohamed-jt2kq 2 года назад +3

      please try to use visual studio or at least mention the code cause there is different between visual studio code and C++Builder code

    • @PolarBearSolutions
      @PolarBearSolutions Год назад

      I really love your video, but i think from a learning point of view using C++ Builder just confuses the implementation. Much prefer it when you use visual studio code.

  • @nv9usb381
    @nv9usb381 2 года назад +15

    The best coding channel ever!

  • @hilgicamala2520
    @hilgicamala2520 2 года назад +10

    Amazing, I was neer able to remember this before, but wit your example it is so easy to understand it and remember.

  • @deneristargerian6755
    @deneristargerian6755 2 года назад +8

    amazing as usual, i can easily understand and remember from your videos

  • @SavageScientist
    @SavageScientist 2 года назад +13

    great example

  • @kostaaleksic6629
    @kostaaleksic6629 Год назад +1

    U procesu sam učenja c++ jezika i ne mogu ti opisati koliko mi je drago što sam naišao na ovaj kanal gde nudiš fantastična objašnjenja i naravno što je to neko sa naših prostora. Puno pozdrava iz Novog Sada.

    • @CodeBeauty
      @CodeBeauty  Год назад +2

      Veliki pozdrav za tebe! Jako volim Novi Sad, ima neku posebnu kulturu, ljudi su divni i rado svratim kad god se ukaže prilika! Želim ti puno sreće i drago mi je da ti moji videi pomažu u učenju programiranja! 🥰❤️

  • @abdulsamee3704
    @abdulsamee3704 2 года назад +5

    omg i thought you were gona leave us i like your teaching is good

    • @CodeBeauty
      @CodeBeauty  2 года назад +3

      I'm not leaving 🥰🥰

    • @abdulsamee3704
      @abdulsamee3704 2 года назад

      @CodeBeauty I've taken 2 computer science courses with 2 labs, I aced all 4 of those because of your videos, the assignments were easy

  • @x-aminulislam-x
    @x-aminulislam-x 2 года назад

    Only on this channel, i can focus and I can learn full of my concentration anyway Nice to see you again.

  • @johanngerell
    @johanngerell 2 года назад +5

    Important to point out that __closure is C++ Builder specific extension. With standard C++, the function pointer must be a "member function pointer" and it can only be invoked on a specific instance of the class it's a member of.

  • @tuazulyrojoeljean
    @tuazulyrojoeljean Год назад

    I love your videos, you are a great teacher. Thank you, Saldina!

  • @bhaddiyatanchangya520
    @bhaddiyatanchangya520 2 года назад +1

    How wonderful the tutorial is! Thank you CodeBeauty. ❤

  • @dominiktworek6455
    @dominiktworek6455 9 месяцев назад

    Oh, you wont believe but I was introduced to delegates function using also templates with multiple arguments "..." and casting. It mess it up even if C++ is my third programming language.
    Here we have great explanation of delegates.

  • @thesoftwareproject5798
    @thesoftwareproject5798 2 года назад +1

    Amazing tutorial! very clear explanation about what a function pointer is.

  • @prashanth-dn2kh
    @prashanth-dn2kh 2 года назад

    Good work Saldina..
    So much love from India. 🙂

  • @ikazodba
    @ikazodba 2 года назад +6

    👍 as usual 👍

  • @1conscience0dimension
    @1conscience0dimension 2 года назад +2

    I'm still in JS since months and still not at the top with Python, so I let C++ behind. My memory is really too average, if not I would follow all with pleasure. One day maybe I'm back.

    • @dundyd3612
      @dundyd3612 2 года назад +4

      we're all average, but her examples are too good. I sometimes watch her video 2-33 times and her videos always help me remember

    • @1conscience0dimension
      @1conscience0dimension 2 года назад

      @@dundyd3612 yea cool maybe after christmass I'm back for a new wave of codeBeauty

  • @AlphaRocketLeo
    @AlphaRocketLeo Год назад

    How to set redirect url in Microsoft login auth . i am using social login in my project for Microsoft login api ?
    Please figure out

  • @clifforddicarlo9178
    @clifforddicarlo9178 11 месяцев назад

    Are child and parent the same process or two different processes?

  • @aaronsj80
    @aaronsj80 2 года назад +4

    I was hoping the kitten would make an appearance in the video.

    • @CodeBeauty
      @CodeBeauty  2 года назад +5

      It has regular appearance on my instagram. It's so cute and playful, I want to share a little bit of his positive energy with the world 🥰

  • @Ghisisan_
    @Ghisisan_ 2 года назад

    Thanks for this video! Very well explained.🤗
    After the last video about AI, I really thought you would let us ask the AI for programming advice from now on. 🤭

  • @johns643
    @johns643 Год назад +1

    Ćao Saldina. I love all of your videos but im wondering why did you switch from Visual studio to C++ builder? Is it because you step away from the console applications and are using forms? I have Visual studio 2022 and building this project in there is not as straight forward as in your video. Anyway ,thank you again for sharing your knowledge. Sve najbolje.

  • @Linuxmusica
    @Linuxmusica 2 года назад +2

    Thanks for the video, but is there any way to explain these concepts without visual program, via terminal apps? It's very confusing because there are many c++ concepts mixured with visual c++ apps (Labels, Edit, Buttons, and so on). It's very hard to understand the main goal.

    • @jonnathanhilliard5684
      @jonnathanhilliard5684 Год назад

      ITs just the same for non visual program, every-time she says ' Form ', just swap the word for ' class '. e.g. parent and child forms, can just be any two classes talking to each other.

  • @pablo17349
    @pablo17349 Год назад

    Awesome video Saldina! The mic quality is the only thing that I think could be improved. Cheers!

    • @CodeBeauty
      @CodeBeauty  Год назад

      Agree. I film in a big room that does not have good sound isolation and it has a lot of echo, so if you can suggest a good microphone it's welcomed 🥰🤗

    • @pablo17349
      @pablo17349 Год назад

      Absolutely! 🤗

  • @jimpapay2895
    @jimpapay2895 8 месяцев назад

    Wow, that's pretty hard. I got to really study this one.

  • @123e-s3m
    @123e-s3m Год назад

    could I ask how to use in visual studio code? I don't know how to solve the problem that install curl and link with c++

  • @willofirony
    @willofirony 2 года назад

    Could you expand on this video, later, by introducing the Observer Pattern. This video was excellent; but we have become used to excellence on this channel. Thank you.

  • @abanoubkerols
    @abanoubkerols 2 года назад

    - can you explain how c++ work in node js
    - and files system in c++
    and thank you for your effort

  • @ateeqrajput1
    @ateeqrajput1 2 года назад

    Hello
    can you make a video on BST implementation and heap
    it will help a lot thank you

  • @dsuniverse132
    @dsuniverse132 2 года назад +1

    unrelated but is C++ Builder free??

  • @waheedkhan3508
    @waheedkhan3508 Год назад

    you are amazing but please speake slowely and clearly that we understand easily b/c we are listning you from pakistan ok mem that's set further more you amazing
    thank youn for getting my instruction👍👍

  • @karoldawid8981
    @karoldawid8981 2 года назад

    How to connect MySql database? I'm using Codeblocks and there's no way to solve this problem. Do you know some tricks?

  • @maqsoodahmad-vx8jl
    @maqsoodahmad-vx8jl Год назад

    Thanks mam I request you deeply make tutorial of rad studio and explain for freelancing . Your obedient

  • @Maxdragon2
    @Maxdragon2 2 года назад

    can u do hashing algorithm pls. Need it for college, Thx.

  • @rjackyl
    @rjackyl Год назад

    well, tbh I got quite confused after watching this video (for the first time since I have started watching your channel). Maybe thats because you introduced a new app which I am not used to. My major problem with this is to understand, if all those (pre-defined) buttons, messages, events, windows are actually classes, objects, methods, functions or anything else. Most likely only after I know all that, I will have a chance to understand what is really happening in this video, lol

  • @Doomw1ngs
    @Doomw1ngs Год назад

    I do have some silly questions I’m about to return after years on coding but I’m between c#,c++. But a friend told me that if I learn python it would be much easier to find job even as freelancer is that a thing out there? Can you tell me you opinion? Because I know c# and c++ are powerful language to learn

    • @CodeBeauty
      @CodeBeauty  Год назад +1

      For getting the job fast I'd learn C# 🤗

  • @emmanuelpaniagua8983
    @emmanuelpaniagua8983 3 месяца назад

    One like is simply not enough for this tutorial.

    • @CodeBeauty
      @CodeBeauty  3 месяца назад

      if you like it that much, check my Practical Programming Course at www.codebeautyacademy.com
      We are building real C# (not C++) application and you will be learning alongside other students, with me as your personal tutor. With this you will also gain access to exclusive Discord community.
      I'll be happy to have you there. :)

  • @ubiquitousMath
    @ubiquitousMath Год назад

    Great video, nice example. However, keep in mind that makes it unnecessary to pass the member function's pointer as a parameter to constructor... You can invoke the message display function in the child unit using a closure pointer. Moreover, using a pointer is not mandatory in this particular application. Simply calling the display function using its full path (as a member of class instance) also works. But, as a way of demonstrating the idea of function pointers, this is a great video.

  • @Xeler_AI
    @Xeler_AI 8 месяцев назад

    CAN YOU MAKE SERIES ON QT CTREATER C++

  • @yousef9181
    @yousef9181 2 года назад

    Hey there, I found your c++ tutorial very informative and got benefited out of it, we will have to learn java next semester in my university. Can you please make tutorials of java, not everyone explain it the way you did in c++. Would highly appreciate that, best of luck!

  • @Logan-nx7ts
    @Logan-nx7ts 2 года назад

    no hay subtitulos en español :'v

  • @booringreader
    @booringreader 2 года назад +1

    Hey Saldina, I'm coming from freecodecamp and your course was great (OOP in C++) 👍 ....

    • @CodeBeauty
      @CodeBeauty  2 года назад

      Thank you and welcome 🤗🤗🥰

  • @malcoder
    @malcoder Год назад +1

    you're amazing fucking hell!

  • @markregione4686
    @markregione4686 2 года назад +1

    @CodeBeauty 😘

  • @muhammadinamulhaq4219
    @muhammadinamulhaq4219 2 года назад

    It doesn't work in QT because it asks for specific declaration of class method when assigning to function pointer.
    Now problem is, how can you define the scope of function pointer in child class?
    The function is in parent. So the scope is Parent::
    To add this scope in child we need to add parent.h in child which ends up in circular imports. What is the solution?

  • @vvkbees6473
    @vvkbees6473 2 года назад

    👍

  • @AndrewOBannon
    @AndrewOBannon 2 года назад

    I'm sorry, but "parameters" is pronounced as "parAmeters" 7:45

  • @inproductions8008
    @inproductions8008 2 года назад

    lol

  • @infotechlab
    @infotechlab 2 года назад

    my god! what's happened?? it's seems you speak faster than usual in this video.. really difficult to follow when you're going to learn something new and tricky, moreover in a foreign language 😏

  • @ossam10
    @ossam10 2 года назад +1

    i am coming from FreeCodeCamp 👋

  • @gonzalocorboleguizamo201
    @gonzalocorboleguizamo201 Год назад

    🤩😍🥰