Derek Banas Many thanks for your awesome tutorials. Netbeans is a great choice 👍. My favorite series is the C programming :)
@יהוה-ע6מ5 жыл бұрын
Its awsome What about openGL in one video ?
@derekbanas5 жыл бұрын
Thank you very much :)
@derekbanas5 жыл бұрын
I'll see what I can do
@jayveetamonang33924 жыл бұрын
@@derekbanas sir can you help me how to make a code in vb.net
@Neon-lens4 жыл бұрын
This two hours is equivalent to 2 years of class lecture. Heavy stuff in here.... I have to watch many times. I just started learning C++ for work. It’s such a powerful language
@derekbanas4 жыл бұрын
Thank you :) I did my best to cover a lot
@zyghom2 жыл бұрын
actually like 100x too fast as well - not only the speed of the speech - 30s for pointers? man ;-)
@blasttrash8 ай бұрын
since its 4 years that you learnt c++, what are you doing now? are you using c++ at your job today? or did you move to a different language or even a different job field?
@sayori39392 ай бұрын
he died at the undefined behavior where if you declared a double as global it would start with an incredibly huge number even through it was supposed to start with 0
@someoneontheinternetuvenev62683 жыл бұрын
This was the perfect tutorial for someone who already has experience programming in different languages (especially stuff like c#/java), although I wouldnt recommend this video to a COMPLETE beginner, either way, loved the video, everything was straight on point, thank you so much!
@derekbanas3 жыл бұрын
Thank you :) Yes it was made for people with experience in other languages
@nikolaaskaas2 жыл бұрын
Derek is always my first goto when I need to pick up a new language, especially for this reason. No bullshit, just quick and to the point. I already know the foundations of programming, just tell me what I need to know.
@omaraissani62555 жыл бұрын
This tutorial is the best transition from c to c++. You're the best Derek ! And congratulations for the 1M subscriber :D
@derekbanas5 жыл бұрын
Thank you very much :) I'm happy you found it useful
@justoneofwebcitizens5 жыл бұрын
Someone giggle when see cover of the book: learn C++ in 24 hours. I thinking this tutorial will be a nominante to award Guiness world records as fastest way to learn C++.
@derekbanas5 жыл бұрын
Thank you :) I'll always do my best to not waste peoples time
@nathanunderbsd59724 жыл бұрын
I Agree, it is a straightforward learning process is always with Derek. Simply smart move. - Don't work hard, work smart.
@simplejack21362 жыл бұрын
You do understand that you are not going to actually learn c++ in 2 hours by simply watching the video, right?
@EXTREMEKIWI1155 жыл бұрын
Derek, you probaby hear this a lot, but you're a big reason why I was able to get started with C++ very quickly. I started learning programming with your C# videos, too. I can't thank you enough for making such comprehensive programming resources, complete with hd videos, clear notes with good comments, all easily available for reference. I also highly appreciate your approach to learning. Instead of memorizing everything, we can come back to relearn whatever we need, when we need it, without getting overwhelmed and exhausted. It all makes for an accelerated programming experience. Thank you for the update to the C++ tutorial as well. Have a great day, Derek!
@derekbanas5 жыл бұрын
Thank you for taking the time to write such a nice message :) People assume that I don't read the comments, but I read every one and the nice ones always make me happy.
@jordanchoi15224 жыл бұрын
correction at 45:10 the addresses wont be the same since theyre two different objects (intArray and age2) which have different memory locations and therefore pointers to it will hold said different memory locations.
@AbdulSamadDev5 жыл бұрын
Congratulations Derek 💐 You're truly a gem. Thank you so much for all of these tutorials.
@derekbanas5 жыл бұрын
Thank you :) You're very kind to say that
@mryup61002 жыл бұрын
I actually watched the whole thing! I really enjoyed it! It was perfect for someone who needs to refresh their C++ knowledge.
@charles-y2z6c4 жыл бұрын
I have done Microsoft stuff for 35 years, BASIC, C, C++, Vb.net and then lots of C#, about three months ago I got hired to do PHP Zend Expressive, never did any of it before. Learned the PHP in a 2 hour video but have been working on implementing it. Just starting to write programs that are making management happy. I have done C++ professionally, this is an excellent start, another gem by Derek Banas
@derekbanas4 жыл бұрын
Thank you for the nice compliment :)
@KH-cs7sj Жыл бұрын
This video is exactly what I needed to pick up my long lost C++ skills before an interview. I read through the C++ primer many years ago. But except for a few school projects, I never used C++ in real world programs. After watching this video, I'll try to use C++ to solve Leetcode problems to consolidate the learning.
@2271masoud5 жыл бұрын
wow, 1 million subscribers. I've been waiting for this moment for a LONG time. well done Derek 🎉 you deserve it
@derekbanas5 жыл бұрын
Thank you for taking the time to watch my videos :) It makes me happy to see a familiar name
@AnonymousDeveloper14 жыл бұрын
So many subs, so little views.
@rockart86604 жыл бұрын
Thanks a LOT for this tutorial. I have done quite a bit of C programming and also some object-oriented programming, but that mainly in Java, even though I have heard many of these things before, I feel lost when I have to write a C++ program from scratch. I never have problems expanding them, because building on code is just easier. This tutorial gave me a veeery quick overview and now I can look into the things that I feel I need to learn more about instead of having to go through a whole C++ course where I already know 90% of the material. One piece of advice: Make your titles more descriptive. It took me a while to find it "C++ Tutorial 2020" does not do this video justice.
@priyankachoudhary36943 жыл бұрын
Loved this video man! It really prepped me to start my dsa practice, couldn’t find anything better than this on the internet !
@1Stormrider13 жыл бұрын
1:13:15 Is there a reason why you didn't explain the need to use a reference here? Please don't skip small things like these (there's a handful of them in the video) because otherwise the tutorial can be understood by anyone. I know viewers can look stuff up, but that's why we watch your videos, because they're mostly comprehensive. Thanks for the great videos.
@hassanmirza23925 жыл бұрын
Your remake series is going well. Keep up the good work Mr. Banas.
@derekbanas5 жыл бұрын
Thank you :) I'm happy so many people like them
@hassanmirza23925 жыл бұрын
@@derekbanas Your series save my life at work, where I have to do complicated research related to the discipline of Scientific Computing. Instead of going through programming books I rely on your videos :)
@franciscogerardohernandezr47884 жыл бұрын
@@hassanmirza2392 ikr!! Modelling is tough and absorbs so much time. This is a life saver so we can focus on our real problem!!
@indiansoftwareengineer48993 жыл бұрын
thanks for updated video, I have switched to C++ from Java for Codechef/ Competitive coding platform, and love your channel.... and coming here for C++ video second time, i.e. first time as sophomore in university and then now.... Thanks Derek.
@derekbanas3 жыл бұрын
Thank you for taking the time to tell me you liked them :) I appreciate it!
@indiansoftwareengineer48993 жыл бұрын
@@derekbanas yeah man, you are most welcome. and thank you for replying to my comment... . . . . . . . . . . . recursion goes here, without exit condition... :-)
@damacx4 жыл бұрын
God bless you man 🙏🏾. Just what I needed, C++ 14 for my job!!
@derekbanas4 жыл бұрын
Thank you :) I wish you the best with your job
@gokusaiyan11285 жыл бұрын
Next make a series on data structures using c++.
@derekbanas4 жыл бұрын
I'll see what I can do
@zxxczczczcz3 жыл бұрын
@@derekbanas make
@discarded16693 жыл бұрын
@@derekbanas been an year bro.. Please do it, we need it badly
@seifabomandor45793 жыл бұрын
@@discarded1669 go easy on him he isn't forced to you can see if other youtuber did it
@blessdarah12565 жыл бұрын
When I got the notification of this tutorial, I just shouted hurray....! Thanks a lot Derek! You're tutorials are very valuable. Please can you make a project using the latest C++ standards? Will love to see how all these winds up! Thanks in advance.
@derekbanas5 жыл бұрын
Thank you :) I'll see what I can do about more C++ tutorials
@gokusaiyan11285 жыл бұрын
Next make an Algorithm course/playlist covering Cormen :). That book gives me nightmares
@peracc88625 жыл бұрын
"How to Learn Everything in One Video"
@derekbanas5 жыл бұрын
Practice every day while at your maximum focus. That's basically all I do. Having the best practice tools available also helps. Check out my ukulele video I recently made to see how I taught my 6 year old daughter ukulele in 2 months
@WeiqiSub4 жыл бұрын
哈哈哈 actually funny
@geodaet834 жыл бұрын
@@derekbanas well, thats because you're a genius and the apple does not fall far from the tree ;-)
@finchat94074 жыл бұрын
@@geodaet83 don't make excuses. You can learn too if you put your mind to it
@kshau_2 жыл бұрын
I watched 5 seconds of your video and figured that this would be fun because of your awesome voice!
@derekbanas2 жыл бұрын
Thank you for the nice compliment :)
@Mischiefcity20134 жыл бұрын
Last week was Lisp and this week I took on C++. I've been programming in a bubble for the last few years, mostly Python and JavaScript, but I've been trying to do more by re-learning some of the languages that I picked up at one point or another and never used. Right now, I'm writing a custom IDE for myself in Qt and I needed to brush up on my C++. I started in C++ years back, but I quit shortly after I traded in most of my ICs for Arduino. Thanks Derek for these tutorials, they've been such a great help.
@derekbanas4 жыл бұрын
I'm very happy to be of help :)
@raviharanath2 жыл бұрын
It's a very good refresher course for C++. Thank you!!
@JeremiahT5 жыл бұрын
One Million! I'm no KZbin personality but that seems like quite a success. Congrats Derek!
@derekbanas5 жыл бұрын
Thank you very much :) I'm definitely not a KZbin personality. It took me over a decade to get here, but I'm thankful.
@vekktrszcrowz25684 жыл бұрын
Man, I can't thank you enough for this tutorial. Not only it helps to learn a ton of handy features, it saves me a great deal of time. You have great teaching skills, I love it how you deal with everything head on, no useless introductions, just raw practice as it should be. I know a few things from the books, but seeing all of this actually done right away was a huge help. Cheers from Russia :)
@derekbanas4 жыл бұрын
Thank you for the nice compliment :) I do my best to not waste peoples time while covering as much as possible.
@elkhanhamet25614 жыл бұрын
Derek, thank you so much man!!! You're truly a God sent to all of us. What an amazing way to save so much time while learning a whole language. God Bless you man and stay safe.
@derekbanas4 жыл бұрын
Thank you very much :) May God bless you as well
@bharathvajkm56505 жыл бұрын
Hello Derek, Congrats on 1M subscribers! You deserve it, your videos are super useful for us. Could you make a video on Flutter next? Thanks
@derekbanas5 жыл бұрын
Thank you very much :) I'm working on Flutter
@mb-le9en5 жыл бұрын
Love the tut. C++ has made me a lot of money over the years!
@derekbanas5 жыл бұрын
It is amazing to think how much so many developers have benefited the Earth by giving freely of their work!!! Statues should be built for these amazing people.
@kyle73824 жыл бұрын
Congrats on the 1M Derek, you absolutely deserve it!
@derekbanas4 жыл бұрын
Thank you very much :) I couldn't have done it without you
@TheODkilla5 жыл бұрын
Congrats on a million subs man!
@derekbanas5 жыл бұрын
Thank you very much 😁
@averyfavreau3215 Жыл бұрын
awesome video, so much information! i've been wanting to learn a lower-level language for a while, but i find it very hard to focus on most tutorials, as most tend to be oriented to complete beginners. this is perfect for crash-coursing c++ for those with experience. thank you so much for this, just what i needed!!
@raynei3 жыл бұрын
This was extremely helpful! I learned alot since I only knew about half of the concepts on the video.
@derekbanas3 жыл бұрын
I’m very happy to be of help :)
@franciscogerardohernandezr47884 жыл бұрын
It took me like a week to digest your content. Including additional examples to get your ideas and typing it all from the screen(I am a masochist), the whole tutorial ended up as a 1000+ line file. Congrats for such a succinct approach to such a complex language.
@derekbanas4 жыл бұрын
Thank you very much :) You did it the right way. Take your time and digest and experiment
@Lumary4 жыл бұрын
Congratulations on 1 million subs, Derek! 😊 Im watching your tutorials since 2 years, they are of great help. 👍
@derekbanas4 жыл бұрын
Thank you for the support :) I'm kind of amazed that I made it
@juliaifrank4 жыл бұрын
@Lumary Oh, nice to see you here too ;) Time to learn some C++ :)
@geektechnique82335 жыл бұрын
I always love some fresh content from you Derek. I'll have to wait until next week to watch this though. Still can't wait to see your spring boot tutorial!
@derekbanas5 жыл бұрын
Thank you 😁 Sorry for the wait
@zxa20015 жыл бұрын
Happy One million, Derek 🎉
@derekbanas5 жыл бұрын
Thank you very much :)
@johnvonhorn29424 жыл бұрын
Working through this on a Raspberry Pi 3b using Windows remote login. i am loving this, we owe you a cold beverage, Derek.
@derekbanas4 жыл бұрын
Thank you :) I'm just happy that you liked it
@earlgreen89433 жыл бұрын
This is such a comprehensive C++ tutorial covering all the modern features offered by the language. It is fantastic. I do actually have a question for Derek though. Are you using the C++ 14 standard when writing the code for this video or is it another standard, e.g. C++ 11, C++ 17, etc. I noticed in your variable/object declarations and initialization, it appears to be C++ 14 but I wanted to be sure.
@aloudia5 жыл бұрын
Congratulations for the million subscribers you the deserve another million. Thanks for the sharings and all your inspirational teaching.
@derekbanas5 жыл бұрын
Thank you for the nice compliment :)
@arielfuxman88683 жыл бұрын
Great video! As someone who already has experience programming, this video is very informatial.
@timstevens33612 жыл бұрын
Derek Banas is a learning machine ! Thank you for this Derek.
@yingzhining2 жыл бұрын
Great tutorial! Just noticed a problem: At 36:05 in the video, there were some default value assigned to the input arguments for function AddNumbers at the function definition, well you need assign the default value at the function declaration before main in order to be able to use them in the main function.
@rodneytheredmage34365 жыл бұрын
Congrats Derek-sensei!!!! You deserve this and more!!
@derekbanas5 жыл бұрын
Thank you very much :)
@Soccercrazyigboman4 жыл бұрын
You really could spend some time to explain some of the stuff you do like the shape class. THere are a lot of things you do like in 1:03:15 where the circle constructor inherits something from Shape. Like what is going on there?
@LouisPMorin3 жыл бұрын
Really nice video. The value you can pack in under 3 hours is amazing. I got a full overview of C++ coming from many other languages.
@derekbanas3 жыл бұрын
Thank you :) I did my best to provide an overview of everything
@mehradzeinali97035 ай бұрын
best c++ tutorial out there
@jacktrainer43872 жыл бұрын
Never sat through one of these, but if you already know C and, perhaps just how to program in general, this is one of the shortest and least painful ways to go thru how to do that which you might otherwise do in Python or C in C++. Four Stars! First Rate!
@derekbanas2 жыл бұрын
Thank you for taking the time to say you liked it :)
@god.hand.5 жыл бұрын
I always recommend this channel to my friends for learning any language. Bcoz of great explanation.
@derekbanas5 жыл бұрын
Thank you for the compliment 😁
@chrisallick4 жыл бұрын
Hi, I watched your video straight through and coded along. No issues, but I have a couple questions, and one tip. Questions: 00:57:20 why do setters use "this->", but getters do not? 01:17:19 explain suffix incriminator? i wanted to variable++ didn't get why ++variable was used at first. quick google allowed me to overload and get x++ and ++x 01:21:21 explain why sort takes a parameter of a lambda function? That seems previously unexplained. 01:35:44 why not this->numOfPeople++ ? And assuming you went with the static class member vs setter and getter to show different way? Or was there a reason why setter/getter was less appropriate? 01:42:27 wait… why did you do your for loop with the memory address of I? I think basically what your saying is for int i which is an array index of num3? Ah, that kind of confused me. 01:44:06 ok, so malloc is called and you say take the number of items you want, multiply that by the memory size of an int, that is how much memory to allocate. Got it. So why do you cast to int? Because malloc returns a void *? What… is that? Why would you need to cast to int vs void? I guess I don’t understand, you’ve created the memory you need. 01:45:10 what would happen if you don’t delete the pointer pNums? 02:07:32 similar confusion, why are we sending *it to cout? It is an integer iterator for a set of integers. So… it is the memory location of first item, but the *it is the actual value where we’ve iterated to? 02:07:56 it++ is the same as advance(it, 1) correct? So would it-=2 be the same as advance(it, -2)? 02:09:47 ok, never heard of a multi set, so basically a set, but you must maintain order and in that case you can have duplicate keys? What would be a simple use case for that? 02:11:13 is a pair a tuple? A quick google says no, but not really obvious why. 02:11:42 match -> second is required because map returns… an object with an attribute second? Like its a helper attribute which points to the second position of the match? Not totally clear. Tip: When you download Apache Netbeans 12 it won’t come with c/c++ samples like your video has at the start. No problem, go to Tools -> Plugins -> Settings tab. Make sure all are active. Go back to Available Plugins, fetch latest (update). C/C++ will be available. This was fantastic. Thanks, Chris.
@chrisallick4 жыл бұрын
@Peterolen Incredibly appreciative of you taking the time to answer me! Thanks!
@tommacari41033 жыл бұрын
Congrats on 1M subs and thank you for these videos!!!
@derekbanas3 жыл бұрын
Thank you very much :)
@akosimat20194 жыл бұрын
I really happy that this video pop up in my recommendation, thank you very much for this tutorial much appreciated😊
@derekbanas4 жыл бұрын
Thank you :) I'm happy you enjoyed it
@stevemerchant18624 жыл бұрын
Hello Derek, As always, thanks very much for putting up this course. Fantastic! A great C++ refresher whilst in isolation. Stay well and thanks again. Steve
@derekbanas4 жыл бұрын
Thank you Steve :) I'm happy I could help during these trying times
@weirdafters40075 жыл бұрын
0:55:59 MORK haha, all jokes aside I just subscribed to your channel yesterday because of your C++ tutorials and you upload this compacted version! Just what I need for my job hunt prospects ! you are a blessing
@derekbanas5 жыл бұрын
Thank you :) I wish you the best on your job hunt
@weirdafters40075 жыл бұрын
@@derekbanas what do you think is a must know for someone senior year college looking for a c++ developer job? everything in this video or maybe more?
@anuragvohra55193 жыл бұрын
Exacly what I was looking for , precise and to the point!
@derekbanas3 жыл бұрын
Thank you very much :)
@tommybloomfield66904 жыл бұрын
Hey Derek, Love your tutorials! Keep it up!
@derekbanas4 жыл бұрын
Thank you very much :) More are coming
@Ascend777 Жыл бұрын
1:46:53 Threads
@kayahantasyaran63102 жыл бұрын
Tutorial is decent overall. Contains valuable info in some sections. However, includes some bad practice in some sections also. Good sides: - Mentioning chrono, concurrency and smart pointers. - Mentioning stack, queue, priority queue. There is not much tutorial properly explaining them. - Covering containers with examples along with for_each, upper_bound etc in some parts. Nice to have: 0:17:40 Arrays --> Would be nice if covered with using std::array. 1:30:57 Macros --> There are better alternatives. Even may not been included. 1:42:27 Malloc / Memory Management --> I think this part should have been recorded with new/delete. Malloc is not C++ way of doing this and has differences with new. 2:17:26 Enums --> Enum classes are better. Use of this->height etc. may bring confusion unlike it is done in Java/C#. Lets dig on wrong sides / bad practices: - Template Functions/Classes are kinda pedantic. The proper way of calling them is Function/Class Templates. - Overloading Functions --> Function Overloading. - Deconstructor --> Destructor. - Using NULL in example code instead of using nullptr. - Not using member initializer list in constructors. - Throwing const correctness away on OOP side. 0:12:50 Casting --> This is not casting. Just converting a string to integer. Casting is something else.
@dinozoe17955 жыл бұрын
Congratulations for 1M
@derekbanas5 жыл бұрын
Thank you very much 😁
@taggerung8905 жыл бұрын
Congrats on the 1M subs! Thanks for the video!
@derekbanas5 жыл бұрын
Thank you very much :)
@kresimircosic37535 жыл бұрын
Beast of a man. I have barely done anything in C++, but I can say knowledge of MySQL (thanks to you), general programming, OOP, even Linux terminal makes this video follow-able (is that a word?).
@derekbanas5 жыл бұрын
Thank you very much :) It makes me very happy to know that I've helped!
@thomasfink23852 жыл бұрын
E X C E L L E N T ! Short, concise, always to the point!
@vegasdealer777 Жыл бұрын
Nice work, as always, Mr. Banas. Thank you.
@ChiragBhatia945 жыл бұрын
Congratulations Derek! Your videos are really helpful :) Thank you
@derekbanas5 жыл бұрын
Thank you very much :)
@sallyshanti39374 жыл бұрын
Hi can you help me with this question c+ Write a C++ program that includes the following functions. , 1- Takes a one-dimensional array of integers, and the number of elements in the array and returns the maximum number in the array. 2- Takes a one-dimensional array of integers, and the number of elements in the array and returns the minimum number in the array. 3- Takes a one-dimensional array of integers, and the number of elements in the array and returns the standard deviation of the numbers in the array. In the main method of the program, define a one-dimensional array of integers of 100 elements. Ask the user about the number of elements (does not exceed 100 integers), and fill the array using rand function. Use the functions to print out the maximum, the minimum, and the standard deviation for the array.
@dante10544 жыл бұрын
#include #include #include /* * Write a C++ program that includes the following functions: * * 1- Takes a one-dimensional array of integers, and the number of elements in the array and returns the maximum number in the array. * 2- Takes a one-dimensional array of integers, and the number of elements in the array and returns the minimum number in the array. * 3- Takes a one-dimensional array of integers, and the number of elements in the array and returns the standard deviation of the numbers in the array. * * In the main method of the program, define a one-dimensional array of integers of 100 elements. Ask the user about the number of elements (does not exceed * 100 integers), and fill the array using rand function. Use the functions to print out the maximum, the minimum, and the standard deviation for the array. * */ using std::cin; using std::cout; using std::endl; int MaximumValue(int arr[], int size); int MinimumValue(int arr[], int size); float StandardDeviation(int arr[], int size); int main(int argc, char const *argv[]) { // Array that will store 100 random integers int rndArr[100]; int numElements; while (true) { // Ask the user about the number of elements cout > numElements; if (numElements >= 0 && numElements
@UltimateDillon3 жыл бұрын
i can feel my brain expanding more as each minute passes
@derekbanas3 жыл бұрын
That is the idea :)
@josh12345678923 жыл бұрын
I gotta learn some c++ for next semester, definitely gonna use this!
@aphenkan4 жыл бұрын
One more subscriber!! You are great! liked the Groovy tutorial as well!
@derekbanas4 жыл бұрын
Thank you very much :)
@securetech97984 жыл бұрын
YEAH!!!!!!!!!!!!!!!!! You are the best bro!!!!!!!!!! Thank you so much!!!!!!!!!!!!!! Finally over the hump and trying to make music making-software-plug-in's etc.....wow you are a big help....especially for those of us who put our heart's out there and try to follow it with strength-no-matter what... "....by what people mean by down and out..." Led Zepplin..... it feels good to get over the hump bro, thanks.....Big help!!!!!!!!!!!!!!!!
@derekbanas4 жыл бұрын
Thank you :) I'm happy I could help
@softwareminimalist2 жыл бұрын
Great tutorial but I chuckled when you said "there has to be a better way" when you introduced pointers. Passing by value is the better way e.g. functional programming. ;)
@hbbss86844 жыл бұрын
Sick! Thanks Derek!!
@derekbanas4 жыл бұрын
Thank you :) Happy you like it
@ShizzleMyChizzle3 жыл бұрын
When people ask me about the smartest youtubers you are always one of the names I think of.
@derekbanas3 жыл бұрын
Thank you for the nice compliment. I promise you that I'm not that smart though.
@SkrtlIl4 жыл бұрын
Its safer to compare pointers to nullptr instead of NULL
@deeputhomas98874 жыл бұрын
using namespace std; Brilliant stuff! May want to point your viewers to the potential gotchas in this.
@Weewoo123094 жыл бұрын
You are an absolute star ⭐️
@derekbanas4 жыл бұрын
Thank you I try to do my best :)
@ignabelitzky3 жыл бұрын
Bookmark 1:28:00
@seifabomandor45793 жыл бұрын
cool
@zhivagojohnson44082 жыл бұрын
Great Video! A plethora of information!
@derekbanas2 жыл бұрын
Thank you very much :) I’m happy I could help
@BrunodeSouzaLino4 жыл бұрын
When can one expect a modern C++ tutorial? As in, no C headers, using algorithm, C++ random, smart pointers, passing values by reference when not using pointers and so on?
@BrunodeSouzaLino4 жыл бұрын
@Peterolen My point is avoiding using C stuff instead of the STL, otherwise you might as well be doing "C with classes" instead of C++.
@jonathanharoun52474 жыл бұрын
Hi Derek. It seems like your usage of the erase function at 30:50 is incorrect. The 2nd parameter should be str4.length() - 12 because with a function str4.erase(N, M), it erases the next M characters after the Nth character of the string str4. Also, str4.erase(12) accomplishes the same thing as str4.erase(12, str4.length() - 12)
@rahulpyd13 жыл бұрын
Someone may have pointed out -- a bug in stacks part -- the loop condition uses size() on the stack and while the stack is popped in the loop.
@medusesti5 жыл бұрын
I was really hoping you would make a C++ video! THANK YOU!
@derekbanas5 жыл бұрын
I hope you like it :) It took forever to edit
@MxCrompli4 жыл бұрын
In an alternate universe "printf" just prints "f" to the console your welcome
@mutated__donkey58403 жыл бұрын
F
@sharefactor3 жыл бұрын
*you're
@callumstewart58913 жыл бұрын
I didn't see you include the header file in your example of lambda expressions, might be worth a mention since I didn't know you needed to include that to get std::sort()
@wertiadreams79494 жыл бұрын
this is literally best tutorial out there I can not thank you enough I went from living with my parents to becoming a Google employee
@wanderingknight10 Жыл бұрын
Nice! Watch it on 2x speed..everyday until you understand.
@randlekehinde49875 жыл бұрын
Great timing Derek
@derekbanas5 жыл бұрын
It's taken to long to make an updated video
@scriptguru46692 жыл бұрын
I've tapped away at c++ for years at a basic level, the pacing of this video is fantastic.
@derekbanas2 жыл бұрын
Thank you :) Happy i could help
@akagaming94315 жыл бұрын
Hello Derek Banas! Thanks for dropping by a new content. I've got a few questions regarding jogging that I wanna ask you about, considering your amazing & consistent streak in jogging every single day (via Strava). 1) Right before you jog, what kinds of food do you eat to maintain constant energy? 2) How long (hours) do you stop eating prior to jogging? I made a mistake once of eating 2 slices of cake and jog within 1 hour of my meal - I nearly puked haha. Thanks in advance.
@derekbanas5 жыл бұрын
Nice to see you again! Here are some things I've learned about jogging and normal mistakes I see new people make : 1. Wait 2 hours after eating before running unless you eat something that digests super fast like BANANAS! (Not Kidding Bananas are just about the best fuel source) 2. If I'm running a long distance which is over 10 miles, I'll eat 1/2 of a Clif bar 5 miles in. I hate gels, but to each their own. 3. When starting out aim for distance and not speed. I started out running and then walking until my heart rate came down and then I'd run some more. Over time I stopped needing to walk. 4. Hills and intervals will cause injuries and shouldn't be attempted until you can run at least 10 miles without stopping 5. Run slow and long. Slow and long will give you the best health benefits being a strong heart, super strong legs and fat burning 6. Make your run as fun as possible. I listen to audiobooks, podcasts, music, running apps, etc. If I get bored I start listening to something else. Boredom and not your bodies ability ends most runs. 7. Chafing can be avoided by using Body Glide on your thighs and NexCare water proof tape on your chest 8. You don't need fancy cloths. I wear shorts that cost $10 and any old t-shirt. The only thing I invested in was a merino wool jacket, which I wear when it is very cold. Also wear a knit hat when it is cold because most of your heat leaves your head. I do wear nice shoes (Brooks Glycerin), but I always buy previous year models which can be had for 50% off. 9. Track yourself every day and put it near your mirror, or some place where you'll be every day. Be proud of your accomplishments! I think that is all that comes to mind. Always feel free to ask me anything about running. When I retire I'll probably run a 1/2 marathon every day.
@suyashbajpai95095 жыл бұрын
Hey Derek! You are great! All the best for anything and everything you do!
@prakad975 жыл бұрын
Just when I decide to learn STL library and was not able find any good resource..thanks man..!!
@prakad975 жыл бұрын
Only STL library video might be great though..!!😅
@derekbanas5 жыл бұрын
I did my best to cover everything
@prakad975 жыл бұрын
@@derekbanas you are the best..!! ✌️
@btcuong4 жыл бұрын
Congratulations on your 1M subscribers!
@derekbanas4 жыл бұрын
Thank you :)
@seshathilakg28273 жыл бұрын
A True LEGEND !!!!
@AAa-tn5rz5 жыл бұрын
Could you do an updated video on blender 2.8 and one on Unreal engine? Thanks
@derekbanas5 жыл бұрын
I'll see what I can do
@loganhebert74754 жыл бұрын
Hahaha wut.
@dante10544 жыл бұрын
I think this tutorial has the same error in the 3D array that I found in the Java tutorial. The correct interpretation of the 3D array must be array[layer][row][col]. Actually, we can see it as array[size_1][size_2]...[size_n]. Anyway, this is an excellent tutorial, Derek.
@freeairdrop93755 жыл бұрын
Congratulations derek you r the man
@derekbanas5 жыл бұрын
Thank you :) I try to do my best
@temirkhanamanbaev425 жыл бұрын
You are best from the best! Thanks!
@derekbanas5 жыл бұрын
Thank you for the nice compliment :)
@poni27693 жыл бұрын
1:08:28 No, it's not working, that's not the area of a circle with width 10. I can't find the bug tho. I was thinking that Circle constructors may need the "->" arrow when defining the width, but that not seems to be the case, at least your code works for me, outputs the area of the circle.
@2271masoud5 жыл бұрын
Simply amazing, nothing less than the famous book of "the C++ programming language" by the creator of C++ Bjarne Stroustrup. but a bone to pick, I expected it to be a php tutorial :(
@derekbanas5 жыл бұрын
Thank you :) PHP is next with MySQL. It will be longer than this video
@coderichardson48044 жыл бұрын
@@derekbanas cannot wait :D
@josejuliansalazarlopez7244 жыл бұрын
Thank god you exist
@ThirumaleshHS5 жыл бұрын
See a notification of Derek's new video, instant click :-)