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.
@levizwannah5 жыл бұрын
This is extremely helpful. You actually hit the nail on the head(straight to the point [incase you don't understand]).
@derekbanas5 жыл бұрын
Thank you :) Happy I could help
@exodus88146 жыл бұрын
Thank you very much Derek :) Can't wait for GUIs and Graphics :)
@derekbanas6 жыл бұрын
Thank you :) They'll be coming soon
@oussamasingle78156 жыл бұрын
Exodus me too 😍
@stanleyman41006 жыл бұрын
Is so true Bro is only God can reward you for your great help
@theeducationaldatabase.2706 жыл бұрын
Derek plz subscribe to my channel as well
@2271masoud6 жыл бұрын
I'm absolutely stunned by this tutorial. you smashed it Derek
@derekbanas6 жыл бұрын
Thank you :) I try to do my best
@shinobu51866 жыл бұрын
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.
@derekbanas6 жыл бұрын
I'm happy you are enjoying them. I've done my best to cover most everything
@marketsmoto31804 жыл бұрын
omg finally an English speaking c++ instructor!!!! thank god, I can actually understand what you say!
@DrCrowie6 жыл бұрын
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.
@derekbanas6 жыл бұрын
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
@luckyluuk87885 жыл бұрын
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 :)
@derekbanas5 жыл бұрын
Thank you :) More problems are coming
@anuragtripathi17446 жыл бұрын
you are the real genius man Derek
@derekbanas6 жыл бұрын
I promise that I'm not very smart
@texasaggie23786 жыл бұрын
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!
@derekbanas6 жыл бұрын
I'm considering it. The reason I didn't is because I was worried somebody would break their computer
@texasaggie23786 жыл бұрын
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.
@gokusaiyan11282 жыл бұрын
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
@derekbanas2 жыл бұрын
I'll see what I can do. I highly recommend leetcode for that
@looperk54376 жыл бұрын
Hey Derek, Any chance you might make a video over bit manipulation and what not?
@zachzimmermann52096 жыл бұрын
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.
@derekbanas6 жыл бұрын
Sorry for not pointing that out
@zkfdsldfjsdjfl16 жыл бұрын
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++
@derekbanas6 жыл бұрын
I'll see what I can do
@FritsvanDoorn6 жыл бұрын
Marvelous episode. Now I have to catchup the previous, I was a bit busy this week.
@derekbanas6 жыл бұрын
Thank you very much :) I can't believe my videos aren't your highest priority in life :D
@FritsvanDoorn6 жыл бұрын
Family first :)
@zarikdaniel66976 жыл бұрын
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?
@gigamungus57646 жыл бұрын
this series is amazing, hard to believe I live in a timeline where it was made
@derekbanas6 жыл бұрын
I'm happy you liked it :) More are coming
@oneinabillion6543 жыл бұрын
Hi Derek, I wish to ask, are iterators like pointers?
@larrybishop51396 жыл бұрын
Excuse me Derek quick question. Is your android app developnent videos from 2014 still useful in 2018?
@derekbanas6 жыл бұрын
This tutorial still works kzbin.info/www/bejne/pHOnZauefZqpf6c
@mostafasaleh28066 жыл бұрын
Master of programing 😍
@derekbanas6 жыл бұрын
Thank you for the nice compliment :)
@larrybishop51396 жыл бұрын
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?
@derekbanas6 жыл бұрын
This is up to date C++, but the previous tutorial is still up to date. I just cover more in this series
@larrybishop51396 жыл бұрын
Ok thank you.
@crystyxn6 жыл бұрын
will you please show us how to make our own C++ libraries? thanks
@derekbanas6 жыл бұрын
Sure
@crystyxn6 жыл бұрын
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 !
@nandhannatarajan21275 жыл бұрын
Will you cover dynamic allocation?
@AhmedMahmoud-ng7df6 жыл бұрын
In day enum how it prints from 1 to 6 and it only have 5 elements in the enum !
@derekbanas6 жыл бұрын
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-ng7df6 жыл бұрын
Okey ,thanks Derek ^_^
@ilyesmilyesm25766 жыл бұрын
Thanks for the video and happy Ramadan for all muslims!
@derekbanas6 жыл бұрын
I'm happy it helped :) I have heard many great things about fasting lately.
@ilyesmilyesm25766 жыл бұрын
Derek Banas that's great! Actually fasting is one of the pilars of Islam and it has many benifits
@halabjaMedia6 жыл бұрын
Thank you M.R😍
@derekbanas6 жыл бұрын
Thank you :)
@stanleyman41006 жыл бұрын
Thank you Derek
@derekbanas6 жыл бұрын
It is my pleasure to be of help :)
@jakimora36976 жыл бұрын
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 👍
@brucewayne62386 жыл бұрын
Thank you Derek ...waiting for unity 3d games tutorial
@derekbanas6 жыл бұрын
I'll see what I can do
@305bwoy6 жыл бұрын
Good stuff as usual.. can we get some updated Java stuff centered around spring
@derekbanas6 жыл бұрын
Thank you :) I'll see what I can do
@icemughal63246 жыл бұрын
sir can u code in c++ which can get trigonometric Values (sine,cos,tan ) I get a negative value
@NicoScholz905 жыл бұрын
Sine, cosine and tangens can be negative so that does not seem to be an error?
@libanabdi53376 жыл бұрын
Thnk you so excited and next video
@derekbanas6 жыл бұрын
Thank you :) I'll get it up ASAP
@melanie_vega6 жыл бұрын
Hi Derek! Can you please do a tutorial on React? Thanks!
@derekbanas6 жыл бұрын
I'm working on it
@ibrahimakram46876 жыл бұрын
How to set andriod SDK location in visual studio C# xamarin???
@davencharity5 жыл бұрын
15:39 But shouldn't the last one have been Lionel? ;)
@adharshrnair82846 жыл бұрын
Please do a tutorial on creating DLL files in c++
@derekbanas6 жыл бұрын
I'll see what I can do
@chanakyaofcharts6 жыл бұрын
int a,b,c; c=a&b; what is the name of &. someone asked me this nd i was not able to explain it.
@derekbanas6 жыл бұрын
It is called the reference operator and it returns the address for a variable that can be stored in a pointer
@chanakyaofcharts6 жыл бұрын
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
@zachzimmermann52096 жыл бұрын
{ "Zoidberg", "Bender", "Leela" } == castOfFuturama; // Minus Fry
@JeushiLoL6 жыл бұрын
o...k so, I would really like it if you could make a video on Linux Ubuntu application development in Python or whatever...
@derekbanas6 жыл бұрын
Tkinter and Kivy works with Linux and I cover Tkinter here kzbin.info/www/bejne/Y6XFiKKQiM5mgrc and Kivy here kzbin.info/www/bejne/eGicnpyLe6mSqdU
@JeushiLoL6 жыл бұрын
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 *
@subodhmishra8446 жыл бұрын
How to develop some real world application using c++
@derekbanas6 жыл бұрын
That's coming soon
@gghhff33445 жыл бұрын
10:30 hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh you are the best
@derekbanas5 жыл бұрын
Thanks :) I get snarky every once in a while
@nimragauhar48385 жыл бұрын
what is auto?
@moofymoo5 жыл бұрын
'hey compiler, figure out what type goes here'
@obinator90655 жыл бұрын
The compiler retrieves the type of the variable through the data type of the data you assign it to.
@JG-gh4xj6 жыл бұрын
do you make videos on PYTHON Derek? if not please do thank you kindly!
@derekbanas6 жыл бұрын
I have a huge 31 part Python tutorial here kzbin.info/www/bejne/pKjNcnuHerd_Zpo
@Conorkc863 жыл бұрын
The Jeffersons?
@derekbanas3 жыл бұрын
You guessed it :)
@80102253256 жыл бұрын
Please use Qt framework for GUI . It will be good since it will allow for cross-platfrom dev :)
@derekbanas6 жыл бұрын
That is what I'm planning on using
@brokenshell13376 жыл бұрын
{"George", "Louise", "Florence"} == The Jeffersons
@derekbanas6 жыл бұрын
You got it! Thanks for playing the game :)
@oussamasingle78156 жыл бұрын
First comment 😍 , thanks derek
@derekbanas6 жыл бұрын
Thank you :)
@theeducationaldatabase.2706 жыл бұрын
Derek Banas plz subscribe to my channel as well and plz share it I will be really thankful