C++ Programming

Get the Cheat Sheet Here :
Best Book on C++ :
How to Install C++ on Windows :

Support Me on Patreon :

Data Types : 2:40
Arithmetic : 6:02
If Statement : 9:19
Switch Statement : 12:01
Ternary Operator : 13:08
Arrays : 13:49
For Loop : 16:30
While Loop : 17:56
Do While Loop : 19:42
User Input : 20:27
Convert String : 20:56
Strings : 21:39
Vectors : 27:47
Functions : 30:16
Recursive Function : 32:37
File I/O : 34:57
Exception Handling : 38:38
Pointers : 40:02
Reference Operator : 40:25
Classes / Objects : 47:12
Private : 47:55
Static Variables : 48:21
Public / Encapsulation: 49:02
Constructors : 50:42
Static Functions : 51:46
this : 53:16
Inheritance : 57:29
Call Superclass Constructor : 59:14
Execute Static Method : 1:00:34
Virtual Methods : 1:02:45
Polymorphism : 1:07:39
Abstract Data Type : 1:08:29


39 thoughts on “C++ Programming”

  1. At 19:09 I was wondering did you get a value of 0 since rand() % 100 is 0 to 99 wouldn't rand() % 100 +1 be 1 to 100? so how were you able to get a value of 0? or is 1 doing something else in this case rather than just increasing the value by one?

  2. Watched the whole thing. Coming to C++ from Matlab, Python and JavaScript. I followed up until Objects. Those seconds were littered with bugs. This video was more like a review for experienced users of C++ or people who come from similar object-oriented languages.

  3. Hey just finished watching the tutorial for the 2nd time before I read up on game engine. Its very helpful, thank you. I hope to understand more of the objects though with constructors and deconstructors ~

  4. you don't understand how much you've helped people like me gain a sought after skill in life to further their education. Thank you sir.

  5. I like Derek Banas shows are GREAT. They are great refreshments for experienced programmers/developers (lazy like me some times); or if you already know some language like 'C' in this case. This show is not recommended if you are a beginner. Suggestions are – read a book/article, practice coding some time, watch some other shows and then watch this to go quickly along with Derek like a Bullet Train. If you want to see from language to assembly/machine level, there others too. Hi Derek, my request to you to cover every interested one – if possible make two videos for all watchers some thing like, 'C (struct) to C++ (class) train' and C++ object typed features. I like and hope to see more of these shows from you. Sorry for the long comment.

  6. If you are VERY NEW to this, let me tell you this. You WILL NOT learn ANYTHING from this video. There is a playlist on youtube. Watch that first then come back to this video for revision. Here is my review of this video

    Learn: 0/10
    Revise: 10/10

  7. This is the best tutorial I've seen so far. Not even 1 minute through and it explained it better than any other tutorial I've ever seen. Subscribed.

  8. This video is exactly what I was looking for. I've learned to program (using Java) and know most of the concepts behind programming and Object Oriented Programming, but wanted a quick and thorough summary of how to code in C++. This video was amazingly well put together, thanks for making it.

    -Another Derek

  9. Watched the whole video. Love your rundowns. Always helpful when preparing for interviews and haven't programmed in a specific language in awhile.

  10. Many People here talking about which language should a newbie learn first. My advice is: C (not plusplus). Why? With C you will learn many concepts of how the computer works behind the scene. If u start with a language like Python, you will not get the deep knowledge how and why the language working as it is. Start witj C and write own functions for building strings etc… to understand its fundamation. Most of languages we know today are derivate from C. So even when they capsule intern functionality you will understand anyway how it works internaly. That will give you good basics for every language you will learn.

    Due to its basics/few functionality C is easy language.

  11. @ 9:01, you could instead use a floating point literal,
    4e0 //exponents imply floating point, use e in decimal, exponent power of 10
    0x2p1 //in hexadecimal notation, use p for exponent, exponent power of 2
    4. //decimal also implies floating point

    4. //double
    4.f //float
    4.l //long double

    for more informations search for cppreference floating literal (edited because youtube tends to filter comments with links to spam)

  12. Great video, but I am little confused with "endl" and carriage return. Why do you need this every time you output something to the terminal?

  13. Your videos are life savers for refreshers. I watched the whole thing. I really feel like a followup video is necessary here though as alot was missed regarding template metaprogramming and generics and complex datatypes — header / implementation separation, and most of the other things a user will end up doing once they try to make something. All in all a great video though and I hope you come back with more.

  14. Finished this video by 10 hours, it really helps me a lot, its a good short and completely c++ learning tutorial!

  15. This video is amazing. This is obviously not for someone who doesn't program in any similar language to C++ but for someone who has basic C knowledge and intermediate Java knowledge this was really good.

    I have a programming exam in a couple of days, and we basically had 18 Java lectures, 1 C Lecture and 1 C++ but the C and C++ section of the exam is worth like 35% – 40% and I'm running out of time to study for the C++ section and this video basically went over everything I needed to know!

    Thanks for the good work Derek!

  16. Hey Derek I need some help and I have no resources to go to for advice.. what is the best software or compiler for C++ graphics and connecting it to someone's codes

  17. I tend to come back to this video for revision
    perfect style, Straight to the point, however not for beginners, just the way I like it

Leave a Reply