C++ Tutorial 18 : Associative Containers & Container Adapters

  Рет қаралды 23,861

Derek Banas

Derek Banas

Күн бұрын

Пікірлер: 102
@WaseemAhmad-bf2mw
@WaseemAhmad-bf2mw 4 жыл бұрын
Finally someone on KZbin who explained it better
@derekbanas
@derekbanas 4 жыл бұрын
Happy I could help :)
@TravelingMooseMedia
@TravelingMooseMedia 4 жыл бұрын
At 18:39 the thinking exercise is that you dont put the size function inside of the loop because then only half of the priority queue would iterate, due to the fact that the end size of the loop is decrementing proportionally to the iterator incrementing.
@levizwannah
@levizwannah 5 жыл бұрын
This is extremely helpful. You actually hit the nail on the head(straight to the point [incase you don't understand]).
@derekbanas
@derekbanas 5 жыл бұрын
Thank you :) Happy I could help
@exodus8814
@exodus8814 6 жыл бұрын
Thank you very much Derek :) Can't wait for GUIs and Graphics :)
@derekbanas
@derekbanas 6 жыл бұрын
Thank you :) They'll be coming soon
@oussamasingle7815
@oussamasingle7815 6 жыл бұрын
Exodus me too 😍
@stanleyman4100
@stanleyman4100 6 жыл бұрын
Is so true Bro is only God can reward you for your great help
@theeducationaldatabase.270
@theeducationaldatabase.270 6 жыл бұрын
Derek plz subscribe to my channel as well
@2271masoud
@2271masoud 6 жыл бұрын
I'm absolutely stunned by this tutorial. you smashed it Derek
@derekbanas
@derekbanas 6 жыл бұрын
Thank you :) I try to do my best
@shinobu5186
@shinobu5186 6 жыл бұрын
Thank you for this series. I'm actually taking a CS introduction to Programming Lanaguages and I believe you have covered all of the languages.
@derekbanas
@derekbanas 6 жыл бұрын
I'm happy you are enjoying them. I've done my best to cover most everything
@marketsmoto3180
@marketsmoto3180 4 жыл бұрын
omg finally an English speaking c++ instructor!!!! thank god, I can actually understand what you say!
@DrCrowie
@DrCrowie 6 жыл бұрын
Hey Derek, I have been enjoying your videos for many years. I think you have a really great approach for getting new starters into programming of whatever language or topic. What I would really like to see you do is like a special video on a particular language say Python for example that is like advanced concepts that are unique to that language. Something that gives people like me who have been programming for a while something they may not have thought of or realised about a language they have used for a while. Beyond the basics and into some real Wing Chung programming. Optimisation and refactoring type of stuff. Anyways keep up the great work.
@derekbanas
@derekbanas 6 жыл бұрын
Thank you for the nice compliment :) I covered refactoring, object oriented design and made a bunch of large projects you may like. Refactoring : kzbin.info/www/bejne/rJm8fGamebqcoM0 Object Oriented Design : kzbin.info/www/bejne/nHu6Z2iNpJx8fqs Translation App : kzbin.info/www/bejne/f2abhZ55npxmm9k Advanced Video Games : kzbin.info/www/bejne/j5yQhGt9gLN-rq8
@luckyluuk8788
@luckyluuk8788 5 жыл бұрын
Nice one again Derek! There is only one flaw to be found here: the lack of problems to solve: I noticed the material sticks better if you cough up a problem for us to crack! Still going on with your series though :)
@derekbanas
@derekbanas 5 жыл бұрын
Thank you :) More problems are coming
@anuragtripathi1744
@anuragtripathi1744 6 жыл бұрын
you are the real genius man Derek
@derekbanas
@derekbanas 6 жыл бұрын
I promise that I'm not very smart
@texasaggie2378
@texasaggie2378 6 жыл бұрын
You should do a video on NASM. I know you have done ARM however NASM supports IA_32, IA_64 && IA_x86_64. It has great documentation and I think a video on the topic would be very helpful to the community. It was very hard for me to use the docs as a refrence sheet. If I had a video I would be all over it!
@derekbanas
@derekbanas 6 жыл бұрын
I'm considering it. The reason I didn't is because I was worried somebody would break their computer
@texasaggie2378
@texasaggie2378 6 жыл бұрын
Okay there is nothing to be worried about. First of all my working environment when it comes to stuff like assembly I use a virtual machine, and I would say about 40% of the language NASM is OS based that means everything can be done in the OS without leaving the comfort of say Macintosh, a Linux distro or a Windows machine. If the part you are worried about is turning on virtualization then do some research. Tell the users that it may harm there computer. Learn the diffrent types of computer firmware and learn to boot into the BIOS with dell machines and such. QEMU runs a gcc compiler on an assembler to pretend to be an OS. Some dell machines already set ENABLE_VIRT_1 on a lot of there machines. Tell the users that it is good to do research on there machine. Also tell the users that this is an INTERMEDIATE task and the fact that this could brick/destroy there computer and they should contact a pro if they feel that the task of turning on ENABLE_VIRT_1 is too hard for them. A great tip is to contact the manufacturer who made there computer and tell them the model number to learn more. This tutorial would help so many developers and the community would be very much in your debt thank you and have a great day.
@gokusaiyan1128
@gokusaiyan1128 2 жыл бұрын
Derek, can you make data structures and algorithm playlist, you know leetcode style questions that all the FAANG companies ask. Like you can cover backtracking, dynamic programming, graphs, etc
@derekbanas
@derekbanas 2 жыл бұрын
I'll see what I can do. I highly recommend leetcode for that
@looperk5437
@looperk5437 6 жыл бұрын
Hey Derek, Any chance you might make a video over bit manipulation and what not?
@zachzimmermann5209
@zachzimmermann5209 6 жыл бұрын
When I was playing with maps, I noticed that you can use the subscript operator to access values, which seems much more intuitive and readable.
@derekbanas
@derekbanas 6 жыл бұрын
Sorry for not pointing that out
@zkfdsldfjsdjfl1
@zkfdsldfjsdjfl1 6 жыл бұрын
can you work on challenging questions from a book or somewhere so that we can see how to approach a problem and use the best solving techniques in C++
@derekbanas
@derekbanas 6 жыл бұрын
I'll see what I can do
@FritsvanDoorn
@FritsvanDoorn 6 жыл бұрын
Marvelous episode. Now I have to catchup the previous, I was a bit busy this week.
@derekbanas
@derekbanas 6 жыл бұрын
Thank you very much :) I can't believe my videos aren't your highest priority in life :D
@FritsvanDoorn
@FritsvanDoorn 6 жыл бұрын
Family first :)
@zarikdaniel6697
@zarikdaniel6697 6 жыл бұрын
Relavancy_C++ Tutorial 5 Dear Derek! How are you? I hope you are doing well. I used switch and enum to create a better visual dynamic inside do while loop platform that allows me to touch my learning , but for the string I was not able to pass the variable to a number of string fitgurse and when the string is playable I want to pass different numbers for more fun ;), it always executed by declared variable but not my input :(, so is the solution using function or pointer or constructor? and which one is easier?
@gigamungus5764
@gigamungus5764 6 жыл бұрын
this series is amazing, hard to believe I live in a timeline where it was made
@derekbanas
@derekbanas 6 жыл бұрын
I'm happy you liked it :) More are coming
@oneinabillion654
@oneinabillion654 3 жыл бұрын
Hi Derek, I wish to ask, are iterators like pointers?
@larrybishop5139
@larrybishop5139 6 жыл бұрын
Excuse me Derek quick question. Is your android app developnent videos from 2014 still useful in 2018?
@derekbanas
@derekbanas 6 жыл бұрын
This tutorial still works kzbin.info/www/bejne/pHOnZauefZqpf6c
@mostafasaleh2806
@mostafasaleh2806 6 жыл бұрын
Master of programing 😍
@derekbanas
@derekbanas 6 жыл бұрын
Thank you for the nice compliment :)
@larrybishop5139
@larrybishop5139 6 жыл бұрын
Why does everything in all of these tutorials seem like different syntax from the c++ I have been learning? Also is your c++ tutorial from about 4 years ago still good to learn?
@derekbanas
@derekbanas 6 жыл бұрын
This is up to date C++, but the previous tutorial is still up to date. I just cover more in this series
@larrybishop5139
@larrybishop5139 6 жыл бұрын
Ok thank you.
@crystyxn
@crystyxn 6 жыл бұрын
will you please show us how to make our own C++ libraries? thanks
@derekbanas
@derekbanas 6 жыл бұрын
Sure
@crystyxn
@crystyxn 6 жыл бұрын
Derek Banas that would be amazing as I need to make my own library to help people with polynomials and I have no idea how to make a library !
@nandhannatarajan2127
@nandhannatarajan2127 5 жыл бұрын
Will you cover dynamic allocation?
@AhmedMahmoud-ng7df
@AhmedMahmoud-ng7df 6 жыл бұрын
In day enum how it prints from 1 to 6 and it only have 5 elements in the enum !
@derekbanas
@derekbanas 6 жыл бұрын
Sorry for not explaining that. The numbers are replaced where the enum names are. So in essence I'm asking it to print from 1 through 6 which also includes the 5
@AhmedMahmoud-ng7df
@AhmedMahmoud-ng7df 6 жыл бұрын
Okey ,thanks Derek ^_^
@ilyesmilyesm2576
@ilyesmilyesm2576 6 жыл бұрын
Thanks for the video and happy Ramadan for all muslims!
@derekbanas
@derekbanas 6 жыл бұрын
I'm happy it helped :) I have heard many great things about fasting lately.
@ilyesmilyesm2576
@ilyesmilyesm2576 6 жыл бұрын
Derek Banas that's great! Actually fasting is one of the pilars of Islam and it has many benifits
@halabjaMedia
@halabjaMedia 6 жыл бұрын
Thank you M.R😍
@derekbanas
@derekbanas 6 жыл бұрын
Thank you :)
@stanleyman4100
@stanleyman4100 6 жыл бұрын
Thank you Derek
@derekbanas
@derekbanas 6 жыл бұрын
It is my pleasure to be of help :)
@jakimora3697
@jakimora3697 6 жыл бұрын
Mso darik what a chinge betwen your vedio Iam watched previwse your chanal to learn c++ one video after i find better until 13vedio what i do ? Iam intresting your chanal Thank's alot mr/ darik 👍
@brucewayne6238
@brucewayne6238 6 жыл бұрын
Thank you Derek ...waiting for unity 3d games tutorial
@derekbanas
@derekbanas 6 жыл бұрын
I'll see what I can do
@305bwoy
@305bwoy 6 жыл бұрын
Good stuff as usual.. can we get some updated Java stuff centered around spring
@derekbanas
@derekbanas 6 жыл бұрын
Thank you :) I'll see what I can do
@icemughal6324
@icemughal6324 6 жыл бұрын
sir can u code in c++ which can get trigonometric Values (sine,cos,tan ) I get a negative value
@NicoScholz90
@NicoScholz90 5 жыл бұрын
Sine, cosine and tangens can be negative so that does not seem to be an error?
@libanabdi5337
@libanabdi5337 6 жыл бұрын
Thnk you so excited and next video
@derekbanas
@derekbanas 6 жыл бұрын
Thank you :) I'll get it up ASAP
@melanie_vega
@melanie_vega 6 жыл бұрын
Hi Derek! Can you please do a tutorial on React? Thanks!
@derekbanas
@derekbanas 6 жыл бұрын
I'm working on it
@ibrahimakram4687
@ibrahimakram4687 6 жыл бұрын
How to set andriod SDK location in visual studio C# xamarin???
@davencharity
@davencharity 5 жыл бұрын
15:39 But shouldn't the last one have been Lionel? ;)
@adharshrnair8284
@adharshrnair8284 6 жыл бұрын
Please do a tutorial on creating DLL files in c++
@derekbanas
@derekbanas 6 жыл бұрын
I'll see what I can do
@chanakyaofcharts
@chanakyaofcharts 6 жыл бұрын
int a,b,c; c=a&b; what is the name of &. someone asked me this nd i was not able to explain it.
@derekbanas
@derekbanas 6 жыл бұрын
It is called the reference operator and it returns the address for a variable that can be stored in a pointer
@chanakyaofcharts
@chanakyaofcharts 6 жыл бұрын
Derek Banas i told him that its reference operator,but he said no...he sa8d something about bitwise..pls explain it in your next video
@zachzimmermann5209
@zachzimmermann5209 6 жыл бұрын
{ "Zoidberg", "Bender", "Leela" } == castOfFuturama; // Minus Fry
@JeushiLoL
@JeushiLoL 6 жыл бұрын
o...k so, I would really like it if you could make a video on Linux Ubuntu application development in Python or whatever...
@derekbanas
@derekbanas 6 жыл бұрын
Tkinter and Kivy works with Linux and I cover Tkinter here kzbin.info/www/bejne/Y6XFiKKQiM5mgrc and Kivy here kzbin.info/www/bejne/eGicnpyLe6mSqdU
@JeushiLoL
@JeushiLoL 6 жыл бұрын
Thank to you for getting back to me so quickly... I have been trying to use Tkinter in Python 3 and when i run the program in the terminal i encounter the error "ImportError No Module Named tkinter" Here is the code that is giving the errors " import tkinter from tkinter import *
@subodhmishra844
@subodhmishra844 6 жыл бұрын
How to develop some real world application using c++
@derekbanas
@derekbanas 6 жыл бұрын
That's coming soon
@gghhff3344
@gghhff3344 5 жыл бұрын
10:30 hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh you are the best
@derekbanas
@derekbanas 5 жыл бұрын
Thanks :) I get snarky every once in a while
@nimragauhar4838
@nimragauhar4838 5 жыл бұрын
what is auto?
@moofymoo
@moofymoo 5 жыл бұрын
'hey compiler, figure out what type goes here'
@obinator9065
@obinator9065 5 жыл бұрын
The compiler retrieves the type of the variable through the data type of the data you assign it to.
@JG-gh4xj
@JG-gh4xj 6 жыл бұрын
do you make videos on PYTHON Derek? if not please do thank you kindly!
@derekbanas
@derekbanas 6 жыл бұрын
I have a huge 31 part Python tutorial here kzbin.info/www/bejne/pKjNcnuHerd_Zpo
@Conorkc86
@Conorkc86 3 жыл бұрын
The Jeffersons?
@derekbanas
@derekbanas 3 жыл бұрын
You guessed it :)
@8010225325
@8010225325 6 жыл бұрын
Please use Qt framework for GUI . It will be good since it will allow for cross-platfrom dev :)
@derekbanas
@derekbanas 6 жыл бұрын
That is what I'm planning on using
@brokenshell1337
@brokenshell1337 6 жыл бұрын
{"George", "Louise", "Florence"} == The Jeffersons
@derekbanas
@derekbanas 6 жыл бұрын
You got it! Thanks for playing the game :)
@oussamasingle7815
@oussamasingle7815 6 жыл бұрын
First comment 😍 , thanks derek
@derekbanas
@derekbanas 6 жыл бұрын
Thank you :)
@theeducationaldatabase.270
@theeducationaldatabase.270 6 жыл бұрын
Derek Banas plz subscribe to my channel as well and plz share it I will be really thankful
@Alphabet_-_
@Alphabet_-_ 5 жыл бұрын
C++ Tutorial 19 : C++ Regular Expressions
27:29
Derek Banas
Рет қаралды 83 М.
C++ Tutorial 21 : C++ Regex 3
18:11
Derek Banas
Рет қаралды 16 М.
pumpkins #shorts
00:39
Mr DegrEE
Рет қаралды 125 МЛН
버블티로 부자 구별하는법4
00:11
진영민yeongmin
Рет қаралды 23 МЛН
How I Turned a Lolipop Into A New One 🤯🍭
00:19
Wian
Рет қаралды 12 МЛН
Who’s the Real Dad Doll Squid? Can You Guess in 60 Seconds? | Roblox 3D
00:34
C++ Tutorial 14 : Templates & Iterators
22:13
Derek Banas
Рет қаралды 74 М.
C++ Tutorial 3 : Pointers & Functions
36:32
Derek Banas
Рет қаралды 70 М.
Qt Tutorial : C++ Notepad App
38:18
Derek Banas
Рет қаралды 445 М.
C++ Tutorial 12 : Operator Overloading & File I/O
28:30
Derek Banas
Рет қаралды 35 М.
C++ Tutorial 15 : Smart Pointers & Polymorphic Templates
15:34
Derek Banas
Рет қаралды 37 М.
How to Code Hangman in Go
15:23
Coding with Patrik
Рет қаралды 585
C++ Tutorial 2 : Conditionals, Arrays, Vectors, Strings, Loops
32:14
pumpkins #shorts
00:39
Mr DegrEE
Рет қаралды 125 МЛН