C++ Programming

C++ Programming

Well Hello… Internet and welcome to my C++ programming tutorial In this tutorial I’m gonna

teach the entire C++ programming language in one video In the description underneath the video you can see links to all the individual parts That should help you get to what exactly you want And I’m not gonna waste any time covering installation If you guys want me to cover that just leave a comment down below and I’ll do that later So, I have a lot to do, so let’s get into it OK, so, what I have here on the left side of the screen is a basic text editor what I have here on the right side of the screen is a terminal Everything is going to be exactly the same as long as you use C++ to compile your programs No matter if you’re on Mac, Windows or on a Linux operating system The very first thing we’re going to do here is cover comments “This is a comment” Just like many other languages you can create a comment just by putting two dashes and then whatever you want and if you want a multi-line comment you can just type in “multi-line” and then close that off though there is commenting in C++, first thing we’re going to do here is include some outside libraries I’m going to have some functions that we’re going to want to use so this one is going to allow us to use a function called cout and a whole bunch of other different things you’re going to see here in a second That’ll be used for vectors This will be used for strings And then this will be used for file i/o Now, all of your code is going to be contained inside of a main function, like this and then you’re going to have a curly bracket; and then you have a closing curly bracket. Now, inside of here, you could call the function cout Either using “cout” or “std::cout”, like this. What I want to do is get rid of this part, and how I get rid of that is right after the include statements I’m going to type in “using namespace std;” and that’s going to keep me from typing that out every single time now if you want to do a basic hello world type of statement here all we gonna have to do is type in “hello world” using cout which outputs the text what you have here and a carriage return whenever you wanna type in the same brackets you see right there and “endl;”

100 thoughts on “C++ Programming

  1. Learn in One Videos for Every Programming Language
    Subscribe to Bookmark them: http://bit.ly/2FWQZTx
    Python : https://youtu.be/N4mEzFDjqtA
    C++ : https://youtu.be/Rub-JsjMhWY
    Java : https://youtu.be/n-xAqcBCws4
    PHP : https://youtu.be/7TF00hJI78Y
    MySQL : https://youtu.be/yPu6qV5byu4
    JavaScript : https://youtu.be/fju9ii8YsGs
    C# : https://youtu.be/lisiwUZJXqQ
    HTML5 : https://youtu.be/kDyJN7qQETA
    CSS3 : https://youtu.be/CUxH_rWSI1k
    JQuery : https://youtu.be/BWXggB-T1jQ
    TypeScript : https://youtu.be/-PR_XqW9JJU
    ECMAScript : https://youtu.be/Jakoi0G8lBg
    Swift : https://youtu.be/dKaojOZ-az8
    R : https://youtu.be/s3FozVfd7q4
    Haskell : https://youtu.be/02_H3LjqMr8
    Handlebars : https://youtu.be/4HuAnM6b2d8
    Bootstrap : https://youtu.be/gqOEoUR5RHg
    Rust : https://youtu.be/U1EFgCNLDB8
    Matlab : https://youtu.be/NSSTkkKRabI
    Arduino : https://youtu.be/QO_Jlz1qpDw
    Crystal : https://youtu.be/DxFP-Wjqtsc
    Emacs : https://youtu.be/Iagbv974GlQ
    Clojure : https://youtu.be/ciGyHkDuPAE
    Shell : https://youtu.be/hwrnmQumtPw
    Perl : https://youtu.be/WEghIXs8F6c
    Perl6 : https://youtu.be/l0zPwhgWTgM
    Elixir : https://youtu.be/pBNOavRoNL0
    D : https://youtu.be/rwZFTnf9bDU
    Fortran : https://youtu.be/__2UgFNYgf8
    LaTeX : https://youtu.be/VhmkLrOjLsw
    F# : https://youtu.be/c7eNDJN758U
    Kotlin : https://youtu.be/H_oGi8uuDpA
    Erlang : https://youtu.be/IEhwc2q1zG4
    Groovy : https://youtu.be/B98jc8hdu9g
    Scala : https://youtu.be/DzFt0YkZo8M
    Lua : https://youtu.be/iMacxZQMPXs
    Ruby : https://youtu.be/Dji9ALCgfpM
    Go : https://youtu.be/CF9S4QZuV30
    Objective C : https://youtu.be/5esQqZIJ83g
    Prolog : https://youtu.be/SykxWpFwMGs
    LISP : https://youtu.be/ymSq4wHrqyU
    Express : https://youtu.be/xDCKcNBFsuI
    Jade : https://youtu.be/l5AXcXAP4r8
    Sass : https://youtu.be/wz3kElLbEHE

  2. I watched the whole video, and got everything until the last 10 minutes on virtual functions, when you started using pointers and references for objects instead of the normal class. And I'm still fuzzy on what virtual actually does and why it is needed.

  3. This is a FANTASTIC refresher…. thanks a lot. PS: Not for people who haven't done C or C++ (or a matter of fact any programming language) before, and certainly not for the faint of heart….

  4. Thanks for sharing. I like your style and code examples. Very easy to understand. Just the last part where you talk about polymorphism and inheritance felt a little rush and I did not understand why destructuring (~) is important. Nevertheless excellent job. Thanks again.

  5. Watched your video thrice
    Very very very good

    Used it just for revision for my upcoming semester which includes "Data Structure and Algorithms" and also "Object Oriented Analysis & Design"

  6. Why not just download a compiler such as CodeBlocks or Visual studio where you can just type the code and run it without using 2 applications?

  7. I don’t understand why so many people are scared to death of C++ and refer to it as an incomprehensible monster of a language.
    If you can think logically and know the basics of computer science, it’s a breeze.
    Nobody ever said that you have to use EVERY SINGLE FEATURE of the language in every project.
    It’s actually a blessing that it has a lot of features. They’re there for you to learn about if you come to a point where you need to use them, but you can easily get by ignoring the features that you don’t need.

  8. 21:40 I am just setting something kinda bookmark for continuing watching this video, the next time I'm here. Will give the final review after finishing the whole video !

  9. At 16:00 you created a multi dimensional array of chars which I think was a little erronous.
    By creating an array of Char[5][5] you implied that you were creating two arrays with 5 characters each.
    What you actually did was create 5 arrays with 5 characters each, and only used the first two.
    I think this is misleading for people who are not familiar with multi-dimensional arrays.
    Is there a good reason for this?

    It even shows afterwards when you iterate the array in a loop, it prints 3 blank lines

  10. Watched the whole video. You told us to let you know…And just so you know, I already knew the first 47 mins of the vid, but I like the way you explain 🙂

  11. Currently I've been learning a few languages and I only ever see really basic tutorials.. At first look the video seemed very overwhelming, until I started to realized that I knew literally every term you were throwing out.. So in summary, THANK YOU for streamlining this experience with the C++ language!!!

  12. Whatched it whole. I found these "short" videos of yours good tool to use in order to remember everything i need before goin on an interview. Thanks for your work 🙂

  13. Thank you man! Watched the whole thing for a refresher before going into a somewhat advanced C++ course for which we already have to know the basics.

  14. I have been putting off a refresher for some time now, and this was more than enough. Thank you very much for a quality video.

  15. I watched the whole video to understand C++ programming. It was very informative and simple to understand. Loved it. Keep it up derek.

  16. This was pretty much the best ever ultimate C++ refresher course, super compact but clear. Plus it even managed to clear up some new things that I always struggled with understanding in the past particularly in relation to references vs pointers, deconstructions, static variables and static methods, class inheritance, and virtual methods/ polymorphism

  17. Ever considered making an OpenGL and/or Vulkan tutorial videos? I would love to see them. You do a great job of going over stuff quickly.

  18. Multidimensional arrays, 15 minutes in – making an array with dimensions [5][5] you're talking about the "first array of 5" and the "second array of 5", this is unclear as you're actually making a 5×5 array but it sounds like you're making a 5×2 array.

  19. Me before the class part of the video: okay seems reasonable to learn C++ just a bit more complicated variables, just classes left
    Me after the class bit: 👁👄👁

  20. Sir you are videos are amazing!But, sir I have a question that where can I learn all the syntax of a programming language like there are different syntax in a programming language for making a game and etc.etc …….sir i would be highly grateful to you answer my question.

  21. watched the whole thing to prep for my c++ final. it helped clarify some concepts for my java final later this week as well

  22. Thank you! I've completed a bootcamp in C and now moving forward to C++ so this is a perfect overview of the differences between the 2 languages. It also made a lot of things much clearer regarding Java. Thanks again it's brill!

  23. You own the Boll Weevil Landscaping Company and want to create a program to estimate the cost of the services you provide. You provide the following services:


    Cost per square yard







    Fertilize and Insecticide






    The program will create the following output to the screen:

    Boll Weevil Landscaping Company

    Yard Maintenance Cost Estimate

    Cost Estimate for customer # – 123 for 1412.00 square yards of yard.


    Cost Estimate for Mowing at .02 per square yard: $ 0.00

    Cost Estimate for Fertilizer at .05 per square yard: $ 0.00

    Cost Estimate for Insecticide at .05 per square yard: $ 0.00

    Cost Estimate for Fertilizer and Insecticide at .08 per square yard: $ 112.96

    Cost Estimate for Tilling at .10 per square yard: $ 0.00

    Cost Estimate for Mulching at .12 per square yard: $ 169.44

    Total cost of the job is: $ 282.40

    The shapes used are: Square, Triangle, Circle, Partial Circle and Ellipse. Based on the dimensions entered, calculate the square yards for each shape selected in the application. Keep a running total of the square yards.

    The flow of the application is to first prompt the users for the customer number, then prompt the user for which service or services they want performed. Then prompt the user to enter the shape of the yard and calculate the square yards for that shape. The customer can request more than one service and have more than one shape for the total job. You will need to keep a running total for each service based on the total area of the yard (include all shapes). Output the results to the screen.

    You must find the formulas to use in your flowchart or pseudo-code for the shapes and use the accumulator variable to save the running totals.



    Dec 16 at 12:52pm (late)

    Submission Details

    Download Boll Weevil Assignment flow chart assigment 6.vsdx

    Grade: 1 (10 pts possible)

    Graded Anonymously: no


    This is not the mid-term. It looks like assignment 4.

    DAVID R. PHILLIPS, Nov 25 at 9:05am

    Hmm. You need some work on this. Again you are using variable names that are vert hard to follow. It looks like you enter the average and total points instead of calculating them in your code.

    ca you help on this

  24. Thank you very much i didn't know the syntax and i learnd every thing in one day and now I can go to the competition i wanted to go

  25. awesome video if someone wants a transition from c language to c++ ,The best time managing and efficient video I've encountered.

  26. Haven't programmed in 2 years and have an upper level C++ course next semester, this is gonna be a huge help. Thank you!

  27. 4.3 million people have seen this, I wonder how much is the actual C++ programmers in the world. I guess they are less that they are not more than 4 million. And most of them, just have not seen this tutorial, they do not need to!

Leave a Reply

Your email address will not be published. Required fields are marked *