C++ Tutorial for Complete Beginners

How to program in the popular (and tricky!) C++ programming language, for complete beginners.

4.44 (44289 reviews)
Udemy
platform
English
language
Programming Languages
category
instructor
C++ Tutorial for Complete Beginners
639,339
students
18 hours
content
Dec 2019
last update
FREE
regular price

What you will learn

You'll be able to develop powerful C++ programs

You'll be able to apply for C++ jobs, with at least a possibility of success

You'll understand the basics of computer programming, including Object Orientation

Description

This course teaches you the powerful, fast and popular C++ programming language from scratch, assuming only basic computer knowledge. If you want to develop apps that squeeze the most power from your computer -- high-end desktop games or complex artificial intelligence programs, for instance -- or if you want to use a language that let's you get close to your machine and access all of your computer's hardware, C++ is the language for you. While C++ is quite challenging, in this course we'll learn the basics step by step; towards the end of the course you'll learn how to create a beautiful "particle fire" program, including a smattering of the basic principles of game development.

Content

Getting Started

Introducing C++
Screen Resolution
Setup and Installation
Hello World C++
Outputting Text

Basic Syntax

Variables
Strings - Working with Text
User Input
Binary Numbers and Computer Memory
Integer Types
Floating Point Types
Other Types: Char and Bool
If
If-Else
If-Else If-Else
Comparing Floats
C++ Conditions
While Loops
Do-While Loops
"For" Loops
Break and Continue
Arrays - Lists of Data
Multidimensional Arrays
Sizeof and Arrays
Sizeof Multidimensional Arrays
Switch

Subroutines: Reusable Blocks of Code

Functions
Return Values
Function Parameters
Headers and Prototypes

Object Oriented Coding

Classes
Data Members
C++ Constructors and Destructors
C++ Getters and Setters
C++ String Streams
Overloading Constructors
The "this" Keyword
Constructor Initialization Lists

Pointers and Memory

Pointers
Arithmetic
Pointers and Arrays
Pointer Arithmetic
Char Arrays
Reversing a String
References
The "const" Keyword
Copy Constructors
The New Operator
Returning Objects from Functions
Allocating Memory
Arrays and Functions
Namespaces

Inheritance

Inheritance
Encapsulation
Constructor Inheritance

Odds and Ends: Twos Complement and Static Variables

Twos Complement
Static Keyword

Developing a Program: The Particle Fire Simulation

Particle Fire Explosion
Using C++ Libraries
Aquiring Simple Direct Media Layer
A Basic SDL Program
Creating an SDL Window
Textures, Renderers and Buffers
Setting Pixel Colors
Creating the Screen Class
Bit Shifting and Colors
Adding a Set Pixel Method
Animating Colors
Creating Particles
Animating Particles
Creating an Explosion
Ensuring Constant Speed
Bitwise "And"
Implementing Box Blur
Tweaking Particle Motion

Conclusion

Languages Overview
What Next

Bonus

Object Oriented Design Considerations
Postfix and Prefix
Polymorphism
Creating Static Libraries

Advanced C++!

Congratulations, and an Advanced C++ Course

Reviews

Kamran
July 19, 2023
If I get this type of knowledge free of cost, then why do I take my footsteps back in giving him ratings? I give him 5 out of 5 ratings.
Josh
July 17, 2023
Just getting started and this is a base up course so far. If the rest is like this then it's what I'd recommend to everyone.
Shivam
July 6, 2023
I like the way, you are teaching. In my past, I studied from many platform but know one give me this type of lecture. So at the and I want to say only one thing thanks sir.
Sounak
July 4, 2023
I enjoyed doing the free course of c++ on udemy. It is a quite reliable platform, where not only one can learn coding but also others can explore a wide range of computational courses like animation, graphics designing etc.
Jerome
June 30, 2023
The instructor is competent in the subject that he is teaching. He presents each video with calm and eloquence, supported by the screen-shared demonstration of what is said while he is saying it. The videos develop from simple to more complex concepts in a logical sequence, which facilitates understanding. The explanations and demonstrations are easy to follow and there is a clearly focused outcome for each video.
Valentin
June 26, 2023
This course teaches you the powerful, fast and popular C++ programming language from scratch, assuming only basic computer knowledge. If you want to develop apps that squeeze the most power from your computer -- high-end desktop games or complex artificial intelligence programs, for instance -- or if you want to use a language that let's you get close to your machine and access all of your computer's hardware, C++ is the language for you. Don't hesitate! Enroll in!
Felipe
June 21, 2023
Nice course to learn how to program in c++ and give some basic skills to learn about any other programming language.
Nicholas
June 14, 2023
Amazing coerce, the best I have come across yet. My only criticism is the audio is pretty bad on some videos. I would suggest watching his videos with some sort of Audio EQ or plugin for your browser, that will allow you to play with the levels and fix up any bad audio. I am looking forward to starting his Advanced C++ coerce next!
Jerry
June 7, 2023
The course suits my needs perfectly. With a light touch "John" explains the inner workings of C++ on a beginner level without intimidating me. Perfect fit!
Fatih
May 19, 2023
Nice and understandable English skills, also nice reminder tactics. I am at the half of course and i love it.
Edson
May 17, 2023
Bom curso, bom conteúdo, pouca prática. Parece um curso criado há alguns anos sem muitos recursos aúdio visuais. Vale por ser gratuito.
Hasbi
April 27, 2023
I always worried about not being able to learn coding languages. After first 6 classes I spend my all time doing stuffs, practicing what I learned. Instructions are net, instructor chooses the correct words. I am 100% positive that I will suggest this course to everyone who wants to learn c++. Some people think that they can learn coding by just watching videos. No you have to check other forums or other creations too. So I don't get people giving 1 star to this masterpiece. Only problem is, instructor speaking very slow. That is why I gave 4 stars. When I play video in x1.25 speed it is still slow, but when I play video in x1.50 speed it is fast and I miss the some points. This gets me bored while watching the video.
Caio
April 19, 2023
I'm Brazilian and I'm here because I subscribed me for an important programming competition, so I need to learn C++ very fast and cheaply. I already know sth of this language, but I need to remember and improve my knowledge to keep up with my team.
Tim
April 1, 2023
Course is at a nice steady pace and allows me to type code as its being explained. The content is really good and easy to follow with very clear instructions.
Gersjan
March 3, 2023
I am so happy that this course is free and so informative. I am really looking forward to learning C++. Thank you so much for this course!

Charts

Price

C++ Tutorial for Complete Beginners - Price chart

Rating

C++ Tutorial for Complete Beginners - Ratings chart

Enrollment distribution

C++ Tutorial for Complete Beginners - Distribution chart

Related Topics

247190
udemy ID
6/20/2014
course created date
7/2/2019
course indexed date
Bot
course submited by