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
English
Curiosity Sale
Current price: $10 Original price: $80 Discount: 88% off
30-Day Money-Back Guarantee
Includes:
  • 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
Requirements
  • How to install software
Description

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
02:11:37
+
Introduction
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!!!
07:39

main is the first thing the compiler look for

main
02:44

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

Variables Part 1
04:42

Variables in C++ continued

Variables Part 2
02:23

C++ Variables continued

Variables Part 3
02:02

More variable types in C++

Variables Part 4
03:56

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
03:46

Arrays
03:20

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!

if/else
03:10

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
03:31

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
02:41

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.

Comments
03:15

Operators are really important to know off in C++

operators
10:01

Test your knowledge

Comments and operators
4 questions
+
Loops
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
01:57

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

The for loop
04:09

Test what you know

Loops
2 questions
+
Working with files
7 Lectures 18:00

Opening and creating files in C++.

Open file
02:39

As the title says: Writing text to files

Writing to text files
03:00

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

Asking user what to write to the file
02:24

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

Reading from files Part 1
03:15

Storing what is in a text file in different variables.

Reading from files Part 2
03:52

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

Check if file is open
01:49

it is important to close files after finished using them.

Closing files
01:01

Test yourself

Files
3 questions
+
Functions
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
02:17

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

Function with arguments
03:02

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
04:49

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

Preview 07:08

Test your knowledge on functions

Functions
2 questions
+
Structures and Classes
2 Lectures 13:30

Structures can be used to store information.

Structures
09:52

Classes can also be used to store information.

Classes
03:38

Classes
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
11:30
+
Pointers
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 )

Pointers
03:45
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.