Learn the basics of C++ fast! Learn how to Develop Software
4.6 (18 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
2,066 students enrolled
Wishlisted Wishlist

Please confirm that you want to add Learn the basics of C++ fast! Learn how to Develop Software to your Wishlist.

Add to Wishlist

Learn the basics of C++ fast! Learn how to Develop Software

Learn the basics of C++ from scratch, watch video tutorials and do quizzes to learn C++
4.6 (18 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
2,066 students enrolled
Created by Daniel Hovd
Last updated 9/2016
Curiosity Sale
Current price: $10 Original price: $80 Discount: 88% off
30-Day Money-Back Guarantee
  • 2 hours on-demand video
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
What Will I Learn?
  • Understand the basics of C++
  • The basics of working with files in C++
View Curriculum
  • How to install software

Will be adding more content as time moves on!

This course covers the basics of C++. We begin with the complete basics, such as:

- Printing text to the console

- Taking input from the user

- Variables

We move on to the if statement, creating loops and working with files.

Then we work with files, create functions, classes and structures.

In the end of this course, we will learn about header files and pointers.

C++ is one of the most amazing programming languages to learn, and C++ is widely used, ranging from creating games to developing anti-viruses.

If you are an absolute beginner at C++, this course is definitely for you!

Who is the target audience?
  • Beginners who want to learn C++
  • People who want to get into programming
  • Programmers who code in another language and want to get into C++
  • Programmers who want to get back into C++, refreshing memory
Students Who Viewed This Course Also Viewed
Curriculum For This Course
34 Lectures
2 Lectures 02:00

- What you will learn

- Who should take this course on C++

Preview 01:11

In this lecture we install visual studio, we will use visual studio to code C++.

Preview 00:49
Input/output + variables
9 Lectures 32:33

Creating you first program in C++ that print out text to the Console.

First program!!!

main is the first thing the compiler look for


Here you will learn about the very basic variable types in C++

Variables Part 1

Variables in C++ continued

Variables Part 2

C++ Variables continued

Variables Part 3

More variable types in C++

Variables Part 4

Why can not we just have one variable type to store all types in C++ ?

Preview 02:01

We have learned how to output to the console, now it's time to learn how to take input from the user.

In C++ we have a library called iostream that stands for input-output stream. We have used a part of output , now we are gonna use code from the input part of iostream in C++.

Taking input from the user


Testing your knowledge about variables, taking input from the user and outputting text to the console.

Input / output and variables
6 questions
If / Else statement + switch statement
3 Lectures 09:22

How to use the if / else statement

The if statement is used a lot in C++, if you want to run different code if different circumstances. IF one thing happens, do this thing, but if not, do this other thing instead!


the if statement will ether do this thing, or it will do the other (else)

But if you want to run a piece of code if one circumstance is true, AND if that isn't true, you don't want to do this other thing (else). But you want another if statement that has another circumstance that runs another piece of code if that one is correct. THEN if none of the circumstances are true, run this piece of code instead (else).

else if

The switch statement lets you have different cases.

if the user types, let's say 10, run this piece of code.

if he type the number 1, run this other code.

Switch statement

Test if you understand how to use the if / else statement and the switch statement.

if/else + switch
4 questions
Comments and Operators
2 Lectures 13:16

if you are working on a project togheter with someone, a group, a friend etc.. You can put comments in the code to tell what your code does.


Operators are really important to know off in C++


Test your knowledge

Comments and operators
4 questions
3 Lectures 10:25

A while loop runs a set of code until the statement given is false.

Preview 04:19

The do while loop is pretty much the same as the while loop, slight differences.

Do while loop

The for loop is used to loop a given amount of times.

The for loop

Test what you know

2 questions
Working with files
7 Lectures 18:00

Opening and creating files in C++.

Open file

As the title says: Writing text to files

Writing to text files

Asking the user what we are going to write to the text file.

Asking user what to write to the file

Reading from a text file and storing what's in it to a variable.

Reading from files Part 1

Storing what is in a text file in different variables.

Reading from files Part 2

Using the if statement to check if the file is open or not.

Check if file is open

it is important to close files after finished using them.

Closing files

Test yourself

3 questions
4 Lectures 17:16

Creating a function that output text to the console, then we create a function that takes input from the user.

Outputting text to the console and taking input using functions

Functions are a lot better with arguments, it is also sometimes called "Parameters"

Function with arguments

Functions can do alot of cool things, for example: run loops

  1. For Loop
  2. Do While Loop
  3. While Loop
Function that runs loops

Here we create a function that use a for loop to print out an array.

Preview 07:08

Test your knowledge on functions

2 questions
Structures and Classes
2 Lectures 13:30

Structures can be used to store information.


Classes can also be used to store information.


2 questions
Header files
1 Lecture 11:30

Having your code stored in multiple header files is really great. Having one header file where you have your classes, having another header file where your structures are stored, another one for variables.

Header files
1 Lecture 03:45

When a program is ran on your computer, the program is a process, the information inside the process is stored in the process memory in addresses.

A pointer points to another variables address. ( The address where the variable is stored )

About the Instructor
Daniel Hovd
4.3 Average rating
107 Reviews
11,572 Students
2 Courses
Software developer, Web designer, trader and marketer

My name is Daniel, I am 19 years old and I'm from Norway ( Where there is always snowing, ice cold and the sun never shines )

I've been programming for eight years. Mosly C++, started with Visual basic and web developement.

I love trading, I love the excitement and the feeling when the stock increases. I mostly trade penny stocks, they are the most exciting ones in my opinion.

I enjoy making videos, I make videos for Youtube and Udemy. I love teaching what I know to others, love sharing information.