Everytime I watch your vedio it's like I will never forget the concept
Thank you so much.
Amazing teacher I ever saw.
Thank you! I was wrestling with dynamic binding yesterday whild using vector and calling functions from it. Now this helped me solve everything.
As always, easy to understand these difficult topics with your videos, thanks!
Hello Saldina, i am a spanish new subcribers of your channel. I started programming c++ at university and i have pointers buried somewhere in my mind.
Gracias por recordarme estos conceptos. Un saludo desde Granada, España.
Por supuesto, seguiré todos tus videos pasados y futuros.
Thank you for your help and dedication for C++. You are definitely a savior!
Thanks.....I was always struggling how Dynamic binding works....but the example in last gives clarity.
Saldina, you are my hero in my programming world. Actually your teaching skills are very very good. Thanks for doing these thing for us 👩🏫❤️🎉️
I like the Video. Well explained. Thank you, Saldina!
im taking cs 202 (computer science two) and you just explained this to me better than my proffeser did with a 1 in-a-half hour lecture in 16 min please take his job thank you so much
If you make a video tutorials on threading in C++ and more such concepts like Linking and Compiling and also on libraries like time(I don't know libraries like time) etc then it would be helpful. Thank You
This tutorial was really useful. Thank you!
your channel is fantastic, I hope to create playlist about algorithm using c++
Nice❤. You're say slowly and explain clearly. It really useful for a non-native language still can be understand what did you said
Saldina ! I am loving your videos and the way you explain the things. Thanks and continue making videos. I would like to watch more such videos. How about making a design pattern series.
Hi Salina, I'm from Cambodia. Thank for your video, I like it.
Thank you for the video. The topic is one of those that you have to remind yourself over and over again. At least that's the case with me.
I'm glad if this video can help you at least a little bit, and clear some doubts 😃😃
Thank You. It's 100% clear. Maybe You should have also mentioned, that if You had used for example 20 different users, with static binding You would have needed to introduce a big questioning type case with all different cases. This code is much simplified with dynamic binding, but the principle is clear.
Great video mam loved it....
Please start series of complete Data Structures and Algorithms with c++
Those are incomplete which you have covered
Lots of love ♥️♥️
I've already covered some data structures and haven't started the Algorithms course yet. Please write some suggestions that you'd like to see in the future!
Thank you! ♥️♥️
I didn't know about this topic. Thanks so much!
I hope that you should have given a simplier example of dynamic binding for it is difficult for me to understand why which class function is binded in runtime.
nice explanations using simple examples : )
I have my interview in 4 hours! Wish me luck and thanks for your videos!
@@_nabin_8848 looking to switch and working with the Linux Kernel
An informative video. I am not totally familiar with the videos on the channel, however if you have not previously covered it, a lesson on the methods/functions of the LIST class would be useful. Another topic would be templates because I believe that you are laying the foundation for templates with this and previous videos.
These are all great vids. Thank you.
Excellent video!!! I was wondering if you could make a tutoial for Win32 API? I would appreciate so much a video on that topic. I love your channel, thanks!
Pozdrav, jel bi imala vremena, da te pitam neke specificne stvari u vezi s Haxe i kreiranjem 2D igrice unutra i gdje te mogu kontaktirati?
Hi teacher, Would you please make a video about how we study programming from video tutorials to achieve maximum benefit. Thanks a million
I love your videos and more than that I love you😉
I have watched all the videos till now should I continue to GUI videos or is there anything else that I need to learn before continuing. Kinda excited for GUI so don't wanna miss anything
Hi,
a question: why you choose use a list of pointers to users list instead of just use a list of users list
thanks
Now I understand why there is static in java.
Can you please explain hexadecimal and bitfields
I find it a little confusing.
And thank you in advance for your hard work
I'am a beginner in c programming language and i intend to enter c++ because I see that a lot virtual reality simulation are done with it.
Concise to the point and useful! Thanks. Btw, i still prefer the batman shirt.
Why do you use VS instead of VS Code? And can you explain some principles of how PVS Studio works? Does it check code efficiency? Thanks for video! 👍
Visual Studio is an ultimate development environment, the most widely used for .NET projects, and it’s very heavy because of that, but you can use it to develop cross-platform applications, and it provides a full-stack development toolset
VS Code is just a text editor that can be extended to a certain point depending on your needs, but it is lightweight because of that
I personally use Visual Studio for C++ and C#, most of the time, and when I have to work on JS projects I use VS Code.
I say most of the time because I have a good PC that can run Visual Studio without any problems, but, if I want to work on my laptop, it is much weaker, so VS Code runs faster.
Regarding the PVS Studio. I could hypothesize on how it analyses the code, but I never read about it in detail. It is one out of many extensions that I use regularly, I know that it is very handy, secure, and easy to use, and that's enough for me, I'm a simple girl. 😁
Hi, Could you please suggest to me some good books for CPP for mastering this language.
Why can't C++ bind function overriding at compile time ? What makes it impossible to do?
Hi Saldina, could you please make a Video on V table and V Pointer. I am confused.
Hi! Thanks a lot for your lectures.. Is it possible to make lectures on stl.. Thank you..
Is this the same as static and dynamic scoping?
do you have a video of RTTI?
Is there any video for pvs to download and install to vscode
Would you like to make a C# videos ?
I like the you explain every concepts.
is is possible to link function overloading with functio overriding?
It is very vlear, thanks !
I understand, thanks very much
You explained what is static and dynamic binding. But you didn't explain how does it work? How does compiler choose which method to execute? How does it work during compilation and how does it work in runtime?
Great! Thanks.
How is it different from polymorphism?
Polymorphism is a concept and this is how it's archived, at some point compiler need to bind function call with its implementation and it can be done statically at compile time or dynamically at runtime. If function is overloaded like same name and different parameter types then compiler can match call with definition using argument types as well. For virtual functions (i think only if invoked using pointer type) binding to correct function is completed at runtime, it's usually done using virtual dispatch table that stores method addresses for specifc type. Instead of dispatch table, compiler can generate switch case statement like you would do in C language with tagged unions.
Is a generic function an example of static or dynamic binding?
This is one of the most interesting questions that I received. I didn't think about it before, and I don't have a ready answer, but based on my programming knowledge I can hypothesize the following:
You specify the type at compile-time, so that is one part of the answer
On the other hand, that type can be an interface/base class, and that is resolved at runtime, and that is another part of the answer
So you can draw your own conclusion. 😁😁
(if you are not familiar with interfaces, check out my video about virtual functions and abstraction)
If by "generic function" you are talking about template functions, then see this:
#include
using namespace std;
class Base
{
public:
virtual void v_proc(void) { cout
Unless I did something wrong, it appears the template function will work on the "naive" object type (aka. for example in the example " testFunc1a(pBObj); ", the compiler inserts a call to the generated specialization void testFunc1a(Base*) ).
By the way, the example can be compiled e.g. in MSVC and the generated .exe passed into IDA/HexRays.
EDIT: Using the "Compiler Explorer" website we can see the generated function calls (you need to scroll until you find the corresponding "main" function) (NOTE: Remove spaces between the slashes and the .org in the following URL before visiting it): https: / / godbolt .org / z / q4Ka648hj
It depends if it's virtual or non-vritual and if it's accessed trough base pointer. If you just have templated function like:
template T Add (T a, T b) { return a + b; }
Then compiler can:
- Optimize this call out if both arguments are constants
- Inline function
- Generate new instance based on generic template parameter like Add, Add, Add and statically bind call with generated functions
Thanks a lot to everyone who responded. It was all really helpful and I have all the information I need now. You guys are the GOAT
Plz also add more on data structure
Thanks!
Please make c++ stl in one video
Mam I live from India
My vs code program not show output
But code is already run please help me
I am student
Eid Mubarak seldina
Can you make a playlist on Algorithms???
Yep, please suggest some algorithms that you'd like to see in that playlist. 😃
@@CodeBeauty
Thanks for reply. Following are
Merge sort
Binary search algorithm
Selection sort
Insertion sort
Bubble sort
Backtracking
Quicksort
Bucket sort
Heap sort
Counting sort
Linear search
Breadth-first search
Dijkstra's algorithm
Depth-first search
Sieve of Eratosthenes
Binary GCD algorithm
QR algorithm
Comb sort
And will be very greatful 🤗😍
Thanks
thanks!! and yes, your a beauty!
Thanks Mam,
this video is good
thanks❤
@CodeBeauty Please create a video about move semantics
truebothbeauty, thanks!
謝謝!
🙏thx
Struggling with external libraries here and cmake
So this is completelly different from what these words mean in PHP
mmm then i can management difente types of list? superusers, user, inviteduser? nice
2:39 explanation starts here ..
function **Overlord**ing! 😂
so, your videos is alway easy to understand, (and you are beautiful girl :'>). So can you make a video t explain clearly about OOP( detailed have a examle code to show difference bewteen 4 properties of OOP)
❤️❤️❤️
std::cout
maybe here it could be better to mention about vtables. basically c++ achieves it using vtables.
en.wikipedia.org/wiki/Virtual_method_table
you are the proof that the world is unfair.
Can i get your number ma'am 🙈!!!
#include"iostream"
using namespace std;
int main()
{
cout
thank you!
📚 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.
#include
#include
using namespace std;
//Static binding
/*float sumNumbers(float a, float b) {
return a + b;
}
float sumNumbers(float a, float b, float c) {
return a + b + c;
}*/
//Dynamic binding
class User {
public:
virtual void getPermissions() {
cout
Thank you Saldina!