omg!!! thank you so much!!! I have watched a lot of videos here in KZbin but this is THE BEST ONE!!!!!! You deserve a lot more followers!!! Easiest and the clearest explanation !!!
@csexplained46392 ай бұрын
I'm so glad you found it helpful!
@freeplayer21834 ай бұрын
Actually the goat
@bongisanijunior79876 ай бұрын
Why does bro only have 15 videos, please upload more topics on C++ like classes, etc. You are too good.😭😭😭
@lazuli93819 ай бұрын
Great vid
@csexplained46398 ай бұрын
Glad it helped.
@hamstercanfly17449 ай бұрын
Really well explained, helped me to actually understand how it works and its syntax in a really easy way. Appreciate it.
@csexplained46398 ай бұрын
Glad it helped.
@anishramesh822910 ай бұрын
we are doing open hashing ryt?
@jays0h10 ай бұрын
Insanely well made tutorial! Thank you so much.
@csexplained46398 ай бұрын
Glad it was helpful!
@Pedoraruba30410 ай бұрын
❤❤ loved the vid very helpful one question though how can we pass the dynamic 2D arrat as parameter of function?
@csexplained46398 ай бұрын
Glad it helped. To pass the 2D array to a function, you declare the function to accept a double pointer (say, int **) and call the function with the name of the array.
@mohamedtalal446811 ай бұрын
you are amazing thank you ❤
@csexplained463911 ай бұрын
Happy to help!
@ecmrn11 ай бұрын
You're very VERY good at explaining these concepts.Why cant other people explain this succinctly?! I've been watching so so many videos on these topics and it did not click until now.
@csexplained463911 ай бұрын
Glad it was helpful!
@strangeyt6483 Жыл бұрын
super super helpful it couldn't be explained any better, Thank alot Jazakallah.
@csexplained4639 Жыл бұрын
You are welcome
@aueza1 Жыл бұрын
Great vid, helped me understand this topic super quick! Thank you!!
@csexplained4639 Жыл бұрын
Glad it helped!
@jumbo999614 Жыл бұрын
I'm using this dynamic array inside Arduino Loop function. Since it's eternal loop, does it need to be deleted?
@lucasgroves137 Жыл бұрын
Haha, completely wrong. You're supposed to make the video twice as long and half as useful, mostly about yourself, and packed with irrelevant, tautological fluff. You need to ramble more; try being more in love with the sound of your own voice, and you'll be doing it right. Then you'll get thousands of _excellent!s_ and _sooo awesome!!s_ 👍 😃
@dinaid888 Жыл бұрын
Hello, How would I do it if wanted to use vectors?
@creationpower333 Жыл бұрын
Thank you for helping us!
@praffullapandey146 Жыл бұрын
Thanks for the video, I have basic doubt here, how can we call Vector b (a) when there is no such constructor which takes Vector arg ? There is only one constructor which takes an int.
@zacharygammo7269 Жыл бұрын
Amazing video, this finally just made it simpler than I ever though ti was
@csexplained4639 Жыл бұрын
Glad you liked it! Please share.
@aymaneomari16272 жыл бұрын
super super helpful. this made an assignment 10x easier. thank you so much!
@csexplained46392 жыл бұрын
Glad it was helpful!
@Naruto-hb9cg2 жыл бұрын
your explanation is the best , is very clear tnx sir
@csexplained46392 жыл бұрын
Glad it was helpful
@slowcoding2 жыл бұрын
Thank you for the valuable examples with the clear explanations.
@csexplained46392 жыл бұрын
Thanks!
@qcnck27762 жыл бұрын
Just came across this video... it is so good! Thanks, esp for the notes at the end
@csexplained46392 жыл бұрын
Glad it was helpful!
@slowcoding2 жыл бұрын
Super useful to understand the concept. The diagram is really helpful to grab how the memory is managed. Thank a lot.
@csexplained46392 жыл бұрын
You are welcome
@Stefan-dg2js2 жыл бұрын
thanks this is great for pre exam recap
@csexplained46392 жыл бұрын
Most welcome!
@hifa62052 жыл бұрын
Can you zoom in a bit more, please? nah fr good video thanks
@csexplained46392 жыл бұрын
Thanks for the feedack
@salama11672 жыл бұрын
great job ^^ keep going , U explained it easily .
@csexplained46392 жыл бұрын
Glad you liked it!
@ayoubfatmi47392 жыл бұрын
nice
@csexplained46392 жыл бұрын
Thanks
@NicholasWidmer2 жыл бұрын
may i ask what program you are using to write this code? I am on MAC as well and have not found a good IDE yet.
@csexplained46392 жыл бұрын
I am using VS code.
@otabek62702 жыл бұрын
I've been surfing through tons of videos and this is the only one that made sense. Thank you for this!
@csexplained46392 жыл бұрын
Glad it helped!
@heartsonny2 жыл бұрын
Hello sir, I have two questions. Do we have to use "this" inside the operator= function? Can't we omit it and say, size=rhs.size instead? Also in my textbook, the Vector& operator= function is written as : const Vector& operator= . What is the use of const there and why? Thanks for the video by the way. Great explanation :) Best wishes
@csexplained46392 жыл бұрын
Hi Duygu, Omitting the "this" is fine. However, using "this" improves the readability by making it explicit that you are referring to the member variable "size". Returning a const reference is not is not typical. en.cppreference.com/w/cpp/language/copy_assignment Glad the explanation helped. What college do you attend?
@mocha33102 жыл бұрын
thank you for the help. idk why but this video clicked so well with me.
@csexplained46392 жыл бұрын
Glad it helped.
@ccs87662 жыл бұрын
thanks a lot much better than the uni tutorial
@csexplained46392 жыл бұрын
Glad it helped!
@manelstudentmerabet51962 жыл бұрын
sir how to implement the resizing function
@csexplained46392 жыл бұрын
Here are the steps for resizing: 1. create a bigger table (e.g., original size * 2) 2. For every element in the original table, insert the element in the new table (this involves rehashing using the new table size) 3. delete the old table.
@adalovelace55262 жыл бұрын
Thank you 💟
@csexplained46392 жыл бұрын
You are so welcome
@srikanth5952 жыл бұрын
Though this (using references) seems to be a standard way of returning a value efficient ly, how does c++ handles the reference when it is assigned to an object because we are assigning a reference to an object - not to a reference object.
@csexplained46392 жыл бұрын
Sorry, not sure I understand what you mean. Can you please rephrase?
@srikanth5952 жыл бұрын
We are assigning a reference to an object, how does c++ handle this? Normally we assign an object to another object or a reference to another reference,,
@srikanth5952 жыл бұрын
Nice video, going up from basic to the intricate parts of the feature.
@csexplained46392 жыл бұрын
Thanks! 👍
@mohamedalsaedi47202 жыл бұрын
hi sir when i debug this code it tells me "Segmentation fault" would you help me to figure the bug i would be grateful this is my code ; #include <iostream> #include <list> using namespace std; class hashTable { int size; list<int>* table; public: hashTable(int s) { size = s; table = new list<int>[size]; } ~hashTable() { delete[]table; } void insert(int v) { int size = v % size; table[size].push_back(v); } void print() { for (int i = 0; i < size; i++) { cout << "index[" << i << "]="; for (auto it :table[i]) { cout << it << " "; } cout << endl; } } }; int main() { hashTable moh(10); moh.insert(18); moh.insert(13); moh.insert(111); moh.insert(12); moh.insert(15); moh.print(); return 0; }
@csexplained46392 жыл бұрын
In the insert function, you are reusing the variable name "size". You could use : void insert (int v){ int index = v% size; table [index].push_back (v); } This should solve your segmentation fault problem. Best of luck!
@Mohamed_bhr662 жыл бұрын
very helpful, thanks for the effort.
@csexplained46392 жыл бұрын
Glad it was helpful!
@walidmorsi83072 жыл бұрын
Thank you for amazing explanation 😍
@csexplained46392 жыл бұрын
You're welcome 😊
@hiankun2 жыл бұрын
So far, only 178 people had found the pearl in the KZbin CS ocean.
@csexplained46392 жыл бұрын
Please share the channel within your circles.
@hiankun2 жыл бұрын
@@csexplained4639 I am an engineer using Python in regular basis but recently are going back to pick up C++ again. Your videos help me a lot and I'd definitely share them to more people when possible. 👍
@hiankun2 жыл бұрын
The notes in the last half video are gold. They resolve many my half-understood parts. Thank you.
@csexplained46392 жыл бұрын
Thanks! Glad it helped.
@Ak-zm3ce2 жыл бұрын
so great hope you continue
@csexplained46392 жыл бұрын
Glad it was helpful!
@BlockchainBob2 жыл бұрын
great visuals and explanation!
@csexplained46392 жыл бұрын
Glad you liked it!
@BlockchainBob2 жыл бұрын
great explanation =) thank you!
@csexplained46392 жыл бұрын
Glad it was helpful!
@pragnyadinesh5142 жыл бұрын
Could you please implement hashing in restaurant management system
@420thlegioner82 жыл бұрын
Such a detailed explanation, really good job.
@csexplained46392 жыл бұрын
Glad it was helpful!
@romanali83622 жыл бұрын
Of all the other videos on KZbin with hundreds and thousands of views this is the only one that made sense to me. Thank you for this. You deserve all the success.
@csexplained46392 жыл бұрын
Glad it was helpful!
@jamalmustafa11932 жыл бұрын
damn I was looking for that type of explanation Amazing
@arshmaanali7142 жыл бұрын
Superb explanation 🔥🔥 Plzzzzzzzzzzzz make tutorial on linked lists in C++.