How to Program in C++ from Beginner to Professional
4.3 (60 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
2,245 students enrolled

How to Program in C++ from Beginner to Professional

Learn C++, Develop full C++ Programs, Get Complete Source Code, Write Clean Structured C++ Code, Go from Beginner to Pro
4.3 (60 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
2,245 students enrolled
Created by Remi Blais
Last updated 4/2016
English [Auto-generated]
Current price: $13.99 Original price: $19.99 Discount: 30% off
5 hours left at this price!
30-Day Money-Back Guarantee
This course includes
  • 3.5 hours on-demand video
  • 15 articles
  • 28 downloadable resources
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
Training 5 or more people?

Get your team access to 4,000+ top Udemy courses anytime, anywhere.

Try Udemy for Business
What you'll learn
  • Program in C++
  • Create full programs in C++
  • Write good, clean and well structured code
  • Apply best coding practices and write professional code
Course content
Expand all 80 lectures 03:42:51
+ Welcome and Introduction
5 lectures 15:35

A brief introduction and welcoming to this C++ course. Key points about this course are covered including course updates, revisions, feedback, how best to benefit form this course and other important details. 

Preview 05:54

This lecture covers getting assistance, help and support learning C++ as a student of this course. Q&A, the FAQ and course discussion are mentioned as support tools and mechanisms to reach out for additional guidance beyond the C++ lecture material provided in this course. 

Preview 02:28

Course welcome and instructor introduction! Receive a warm greeting and welcome into this C++ course, meet the instructor, get insight into course updates, new material, feedback and questions.

Welcome to C++ and Meet Your Instructor

This lecture covers adjusting video quality options in the player to match a students personal viewing preferences.

Video Clarity and Optimization

This lecture covers frequently asked questions and answers. Often many developers have the same questions and the answers in this section are here to provide additional support. 

Frequently Asked Questions (FAQ)
+ Software & Tools Overview
1 lecture 02:17

This lecture covers text editor and IDE options available for students to write C++ code. The code learned in this C++ course can be written in many different text editors of choice and this is a brief overview describing editors and options.

Where Do I Write C++ Code? What is a Good IDE for C++?
+ Setup and Tools on Windows
5 lectures 15:13

This lecture covers downloading and installation the Code::Blocks IDE on a Windows OS. Some key configurations and choices are made during this process.  

Code::Blocks IDE Code Editor Setup on Windows

Install Sublime code/text editor on Windows and use it to write code if you prefer a simple text editor. Sublime is a popular editor that many developers use to write C++ code. It offers many more features and benefits over notepad such as color variations for text. This lecture covers installing Sublime on a system running a Windows OS.

Install Sublime Code Editor - Windows

Atom is a popular free open source text editor used to write code. This lecture covers installation of Atom on a system with a Windows OS. 

Install Atom Text Editor and Setup on Windows

This lecture covers the installation and setup of the Notepad++ text editor on Windows. This powerful text editor can be used to write and modify code. 

Install Notepad++ Text Editor on Windows

Its common to output messages from your C++ program to the command prompt but if the font size in the Windows command prompt is too small then it may strain your eyes and cause discomfort making your developer experience unenjoyable. This lecture covers customizing the font displayed in the Windows command prompt to provide a better overall developer experience. 

Windows Command Prompt - Font Customizations
+ Setup and Tools on a Mac
5 lectures 12:08

Code::Blocks is an IDE and code editor that we use in this course to write C++ code. You are welcome to use any editor of your choice but in the videos code is written inside of Code::Blocks. Code::Blocks is free to download and use and available on the main platforms including Windows and Mac.

Code::Blocks IDE Code Editor with Setup on Mac

This lecture covers setting up and verifying permissions on a Mac and the file extension required to compile or build C++ programs in Code::Blocks. Code::Blocks is the IDE used in this course therefore it is important to check permissions and save files correctly. Building C++ programs is essential to being successful in this course.

Code::Blocks Permissions Setup

Lecture covering Code::Blocks plugins and how they may affect performance and stability on a Mac.

Code::Blocks on Mac - Plugins and Solving Crashing

Sublime is a popular and powerful text editor used to write code in many languages including C++. This lecture focuses on installing Sublime, using it to access files and folders and setting up a command to quickly access them via the terminal on a Mac.

Sublime Text Editor with Setup on Mac

Atom is a free open source text editor that can be used to write C++ code. This lecture covers downloading Atom, installing it and using it to access files.

Atom Text Editor with Setup on Mac
+ Software & Tool Common Features & Functionality
4 lectures 11:34

This lecture covers creating a new C++ file in Code::Blocks. The same principles apply to creating a new C++ file in general including discussion on the file extension used with insight into compiling the code into a program. This demonstration was done running Code::Blocks on Windows and the same process and workflow also apply to the latest Mac OS X version.

Create New C++ File in Code::Blocks

This lecture covers key options and settings for Code::Blocks that are used frequently during this course and, or may make C++ coding more enjoyable in the IDE. This lecture was covered on Windows but these options and settings are common to Code::Blocks running on a Mac as well. 

Code::Blocks IDE Options & Settings

Learn how to compile C++ code using Sublime and Code::Blocks. Compiling or building code into a executable program that can be run is necessary otherwise there is no program and just some files containing code.

Compile C++ Code in Sublime and Code::Blocks

This lecture covers Code::Blocks, building and running C++ programs in the IDE and errors that may occur that stem from your virus scanner. The errors, results and solutions are demonstrated on Windows.

Code::Blocks Build & Run Errors - Virus Scanners
+ Programming and C++ Language Essentials
13 lectures 38:15

Lecture on C++ includes and headers and their importance and purpose. Learn about including C++ libraries into your programs to access functions and functionality.


Lecture on the C++ main function and its significance in a program.

Main Function - Where it Starts!

Lecture on C++ functions and their purpose in development and writing complex programs. Learn to write practical C++ functions in this exciting lecture. We create a C++ function and then expand on it to work with arguments

Functions in C++ - Part 1

This lecture continues working with functions in C++. New C++ functions are created that return values and more key concepts are discussed. 

Functions in C++ - Part 2

Lecture on how to get data into a C++ program and how to output or print data to the screen or terminal window. Working with data and accepting person entered data is foundational to most programs. Learn these vital skills following along this practical hands on C++ tutorial.

Data Input and Output in C++ (Get and Return Data)

Create a simple Hello World C++ program using Code::Blocks on Windows and displaying a message in the command prompt. This hands-on demonstration covers basics, shares deeper insight and tips and works with Code::Blocks IDE on Windows from writing code to compiling and running the program. 

Preview 03:25

Lecture covering C++ operators, different types, their purpose and practical use in a program. Learn these vital and necessary skills in order to perform calculations, write conditions and more.

Operators in C++ - Nuts and Bolts

Learn the essentials of variables in the C++ programming language. Variables are foundational to programming languages in general. Learn variables through real coding examples.

Variables in C++ Part 1

Continue to learn the essentials of variables in C++ by writing code. Become familiar with data types and storing the correct values inside variables.

Variables in C++ Part 2

Learn C++ constants, their purpose, when and how to use them. Write some C++ constants in this exciting hands on tutorial and see them used in action.

C++ Constants

Continuing with Constants in C++ and working with integer variables. Get additional insight into appropriate times to use constants and some troubleshooting experience.

C++ Constants - Part 2

This lecture provides a brief overview of including C++ header files and language code, namespaces and the standard library ("std"). It provides valuable underpinning insight into why we need to write code in a certain way and how the code works and, or is pieced together and connected. 

Overview: Includes, Namespaces & The Standard Library

Create a C++ program template to kick start building simple programs. Creating this C++ template will speed up writing the programs in this course, following the exciting hands-on C++ tutorials and writing programs in general.

C++ Shell Program - This is a Template to use to Start and Build Your Programs!
+ Data Types in C++
9 lectures 25:11

This lecture covers the string data type in C++. It covers how to use the C++ string data type, store data and print it to the screen or terminal.

String C++ Data Type

This lecture covers the integer C++ data type, how to use it, store data and print it to the screen or terminal. Learn the essentials of using a C++ in data type in this real code example.

Integer C++ Data Type

Quick recap of what we learned about the C++ integer data type. We define a variable in C++ and assign a calculated value. 

Integer Data Type Recap

This lecture covers the essentials of the C++ bool data type in a real world programming example. Evaluation and condition logic is touched upon as well as practical real world usage of the bool data type.

bool C++ Data Type

This lecture covers the essentials of the char C++ data type in a real world programming example. Learn about compile errors and spotting data type mismatches as a bonus in this practical example that covers this important data type in the C++ programming language.

char C++ Data Type

This lecture covers the basics of the C++ double data type with real world and practical code examples. Code alongside to learn about the C++ data type double.

double C++ Data Type

This lecture covers and demonstrates the float data type in C++ through real coding examples. Learn the essentials of the float C++ data type by writing code alongside in this tutorial video.

float C++ Data Type

Learn to write a simple hello world program in C++ that covers the essentials of the language. Learn tips and tricks, keywords, includes, libraries and more. In creating this complete C++ program much ground is covered. 

Write A Simple C++ Program

Expand a simple hello world C++ program to accept user entered data. Accepting and working with user entered data is essential and is taught in this practical coding example and tutorial.

Expand a Simple C++ Program to Obtain User Input

This quiz benchmarks knowledge gained about data types.

Data Types
4 questions
+ Conditional Statements and Logic - If and Else Statements
4 lectures 12:00

C++ conditions are foundational to most programs and an essential piece to learn. Learn how to write if conditions and their purpose in development.

If Statements and Conditions

Learn about and write if else conditions in C++. Write some code to evaluate a condition and perform some functionality based on whether the condition was met. An essential piece to learn because conditions are often used in code.

Else Statements and Conditions

Learn more about if condition operations and some of the key ones used in most programs. Follow along this hands on video tutorial to write some if conditions using these condition operators in C++.

Condition Operator Overview

In this exciting lecture we recap if else conditions examining a simple boolean variable. In this hands-on video tutorial the value of the variable is changed and we examine the results of our condition and program. This reinforces the concepts learned through working with conditions. 

If and Else Condition Quick Recap Overview
+ How Do I Get User Data Into My C++ Program and What Can I Do with It?
4 lectures 11:06

Learn how to get people entered data into a C++ program to work with it.

Getting Data Into a C++ Program Part 1

Expand on the essential skills of getting people entered data into a C++ program. Get data into your program and then send data out of your program by working with multiple values.

Getting Data Into a C++ Program Part 2 - Multiple Values

After getting people entered data into a C++ program learn how to work with the data.

Getting Data Into a C++ Program Part 3 - Data Manipulation

A simple exercise to practice, apply and hone your C++ skills learned. 

Exercise A: Create a Program
+ Arrays, Vectors and Collections in C++
2 lectures 06:30

Learn about C++ arrays and write code to work with them by following along this hands on video tutorial. Learn the essentials of working with arrays in C++.


Learn the essentials about C++ vectors and follow along to write practical code to work with them.


This quiz tests skills and knowledge about vectors in C++.

Vectors in C++
2 questions
  • You should have some interest in programming in C++
  • You should be comfortable using a computer, installing software and navigating applications

This course teaches C++ from beginner to professional. Learn best practices and programming standards that can be applied to any language and apply them to write clean, well structured and professional C++ code. Follow hands-on video tutorials that teach how to develop full programs in C++ through real practical examples. Write code, create programs, compile and run code. Learn what software you need, how to install and setup your environment. A complete course to learn how to program in C++.

There are no additional costs for software because all the software used in this course is free and open source. We cover a few different tools to provide you with options. Learn the essential tools to make C++ development easier and increase your productivity.

This course should be done at your own pace and some lessons you may want to review a couple times due to their importance. This course is structured covering simple but essential concepts first, then moving to more advanced concepts and then reinforcing best practices that will empower you to write professional production quality C++ code. This course is also quick reference friendly for people with limited time that want to focus on learning a specific concept or code periodically. The C++ lectures are arranged in a logical order but can be watched in any order as each focuses on a complete concept being taught in the lecture. C++ source code is provided including shell programs and C++ make files that you can use as starting points and templates in our own development.

Take this course if you want to learn C++, build complete C++ programs, maintain C++ programs in your work, freelance in C++, get a quick refresher on the language, use this as a programming reference course, get C++ source code to learn from or use and learn best practices to write professional code. Get Started now in learning C++.

Who this course is for:
  • This C++ course is meant for people new to C++ or programming in general and those looking for a quick refresher. No prior programming knowledge is needed. This course is probably not for you if you're at the intermediate or senior level looking to learn advanced C++ concepts.