WP Tutorials

C++ Tutorial for Beginners – Full Course

C++ Tutorial for Beginners – Full Course

This course will give you a full introduction into all of the core concepts in C++.

Want more from Mike? He’s starting a coding RPG/Bootcamp – https://simulator.dev/

⭐️ Contents ⭐
⌨️ (0:00:00) Introduction
⌨️ (0:01:38) Windows Installation
⌨️ (0:04:54) Mac Installation
⌨️ (0:08:44) Setup & Hello World
⌨️ (0:12:29) Drawing a Shape
⌨️ (0:19:55) Variables
⌨️ (0:31:43) Data Types
⌨️ (0:39:15) Working With Strings
⌨️ (0:49:00) Working With Numbers
⌨️ (0:59:41) Getting User Input
⌨️ (1:05:32) Building a Calculator
⌨️ (1:09:28) Building a Mad Libs
⌨️ (1:13:45) Arrays
⌨️ (1:20:03) Functions
⌨️ (1:29:47) Return Statement
⌨️ (1:35:22) If Statements
⌨️ (1:47:15) If Statements (con’t)
⌨️ (1:55:58) Building a Better Calculator
⌨️ (2:02:20) Switch Statements
⌨️ (2:10:47) While Loops
⌨️ (2:18:53) Building a Guessing Game
⌨️ (2:29:18) For Loops
⌨️ (2:38:32) Exponent Function
⌨️ (2:45:21) 2d Arrays & Nested Loops
⌨️ (2:54:55) Comments
⌨️ (2:59:11) Pointers
⌨️ (3:13:26) Classes & Objects
⌨️ (3:25:40) Constructor Functions
⌨️ (3:34:41) Object Functions
⌨️ (3:41:43) Getters & Setters
⌨️ (3:54:04) Inheritance

Course developed by Mike Dane. Check out his YouTube channel for more great programming courses: https://www.youtube.com/channel/UCvmINlrza7JHB1zkIOuXEbw

🐦Follow Mike on Twitter: https://twitter.com/GiraffeAcademy

🔗The Giraffe Academy website: http://www.giraffeacademy.com/

⭐️Other full courses by Giraffe Academy on our channel ⭐️
💻C: https://youtu.be/KJgsSFOSQv0
💻Python: https://youtu.be/rfscVS0vtbw
💻SQL: https://youtu.be/HXV3zeQKqGY
💻Ruby: https://youtu.be/t_ispmWmdjY
💻PHP: https://youtu.be/OK_JCtrrv-c

Learn to code for free and get a developer job: https://www.freecodecamp.org

Read hundreds of articles on programming: https://medium.freecodecamp.org


Comments (27)

  1. Click the "JOIN" button below the video to support freeCodeCamp.org!

  2. Thanks giraffe academy

  3. 51:45

    Did he mean PEMDAS though?

  4. getline(cin, name) doesn't want to work… I'm coding on a basic text editor on linux and when i compile the code and execute it on the terminal everything works fine except the getline(cin, name). It gets skipped all the time. Does anyone have an idea how to solve this?

    Edit: I found a solution:
    Just write the following line before your getline() command:
    cin.ignore(numeric_limits<streamsize>::max(), 'n');

    If you use other input operations like cin >> before calling getline(), the newline character (n) remains in the input stream. Since getline() stops by default when it reaches a newline character, it skips the next input line.

    To fix this problem, you can remove the newline character from the stream before calling getline() with the code line mentioned above.

  5. Nice tutorial adin ross!😊🎉

  6. Great course, he explained it very well. Yummy_Chicken/10

  7. #Day one
    Cout << " 1:00:00 "<<endl;

  8. Is structure missing here

  9. i have an exam on friday and trying to learn everything in 4 hours wish me luck

  10. Thanks teacher …! This really helped me to gather all the basic concepts of c++ and now im ready to learn advanced c++❤🎉

  11. the best tutorial for upcoming I T students

  12. is this missing anything after 5 years ?

  13. Thank you for the tutorial.

  14. I have a newer macOS version (macOS 12.3)

    So code blocks isn’t updated for my version

    What can I do instead?

  15. yeah, this video was pretty useful…(yes, that was a snarky comment, if anyone caught it XD)

  16. In the guessing game some of you might find yourself stuck if you aren't using the same IDE used in the video, in my case it is Microsoft Visual Studio.

    The warning about the guess variable being uninitialized might appear because some compilers or IDEs want to ensure that all variables have a defined value before they are used. In this case, guess is being used in the condition while (secretNum != guess && !outOfGuesses) before any input is assigned to it. This can be addressed by just initializing guess with a base value of 0 when it is declared ( or anything that isn't your secret number). This should make the program run as expected. so instead of int guess; type out int guess = 0; and you should be good to go.

  17. I did an infinite while loop on purpose just to see what would happen. (edit) you did one a few moments later lmao I can't imagine how severe that would be on a full program.

  18. done🎉🎉🎉

  19. thanks Mike. your tutorial is great and useful to me

  20. Gefallen bischen mehr wie deine Mutter
    Eingebildetes Stück Scheisse wie dein Vater

    Mann erste Mensch gerne hatte

    Bitte bitte
    Lkw Berlin Mama meckern passt umgeht

    Alex valentina

    Gene Mutter. Arschloch wie dein vater

  21. completed !!!

  22. C++ in 4 hours!!! Let's go!

  23. Tamil. La sollamatningala

  24. Small mistake at 2:27:08
    Using (OutOfGuesses) as the if condition at the end of the program gives "you lose" as output when the secret number is correctly guessed in the last try.
    Replacing the condition with (guess==secretNum) can resolve the issue (the if and else outputs should be switched as well).

Leave your thought here

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

Enable Notifications OK No thanks