C++ Tutorial for Complete Beginners

C++ Tutorial for Complete Beginners

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

What You'll Learn

You'll be able to develop powerful C++ programs
You'll be able to apply for C++ jobs
You'll understand the basics of computer programming, including Object Orientation

About

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.

81

Lessons

10

Modules

1

Reviews

Enroll for free

Enroll Now

Full course, no restrictions!

Modules

Getting Started
14:56 Introducing C++
Screen Resolution
8:38 Setup and Installation
23:15 Hello World C++
19:18 Outputting Text
Basic Syntax
16:23 Variables
7:30 Strings - Working with Text
9:36 User Input
5:58 Binary Numbers and Computer Memory
13:30 Integer Types
14:42 Floating Point Types
11:34 Other Types: Char and Bool
12:26 If
13:16 If-Else
5:53 If-Else If-Else
4:40 Comparing Floats
21:17 C++ Conditions
9:35 While Loops
13:48 Do-While Loops
6:44 "For" Loops
10:51 Break and Continue
17:25 Arrays - Lists of Data
11:43 Multidimensional Arrays
7:40 Sizeof and Arrays
6:58 Sizeof Multidimensional Arrays
9:46 Switch
Subroutines: Reusable Blocks of Code
10:60 Functions
6:31 Return Values
7:60 Function Parameters
13:55 Headers and Prototypes
Object Oriented Coding
18:16 Classes
17:51 Data Members
16:35 C++ Constructors and Destructors
13:16 C++ Getters and Setters
8:45 C++ String Streams
13:80 Overloading Constructors
14:53 The "this" Keyword
8:36 Constructor Initialization Lists
Pointers and Memory
17:30 Pointers
13:23 Arithmetic
17:23 Pointers and Arrays
15:37 Pointer Arithmetic
9:36 Char Arrays
11:29 Reversing a String
8:38 References
13:34 The "const" Keyword
13:16 Copy Constructors
9:12 The New Operator
12:54 Returning Objects from Functions
10:30 Allocating Memory
15:24 Arrays and Functions
19:20 Namespaces
Inheritance
9:27 Inheritance
10:13 Encapsulation
14:60 Constructor Inheritance
Odds and Ends: Twos Complement and Static Variables
19:26 Twos Complement
11:57 Static Keyword
Developing a Program: The Particle Fire Simulation
5:39 Particle Fire Explosion
11:57 Using C++ Libraries
12:58 Acquiring Simple Direct Media Layer
17:60 A Basic SDL Program
22:50 Creating an SDL Window
30:34 Textures, Renderers and Buffers
18:20 Setting Pixel Colors
20:48 Creating the Screen Class
8:57 Bit Shifting and Colors
8:17 Adding a Set Pixel Method
18:20 Animating Colors
29:53 Creating Particles
21:43 Animating Particles
14:28 Creating an Explosion
7:50 Ensuring Constant Speed
11:53 Bitwise "And"
28:55 Implementing Box Blur
14:41 Tweaking Particle Motion
Conclusion
19:60 Languages Overview
8:50 What Next
Bonus
16:17 Object Oriented Design Considerations
5:15 Postfix and Prefix
12:46 Polymorphism
16:10 Creating Static Libraries

Reviews

How It Works

Coursework

Coursework

Each course is like an interactive textbook with pre-recorded videos, quizzes and projects.
Peer Support

Peers

Connect with thousands of other learners to debate ideas, discuss course material, and get help mastering new concepts.

Your Teacher

John Purcell

John Purcell

Software Development Trainer