• Professional Development
  • Medicine & Nursing
  • Arts & Crafts
  • Health & Wellbeing
  • Personal Development

Course Images

Practical C++: Learn C++ Basics Step by Step

Practical C++: Learn C++ Basics Step by Step

  • 30 Day Money Back Guarantee
  • Completion Certificate
  • 24/7 Technical Support

Highlights

  • On-Demand course

  • 4 hours 52 minutes

  • All levels

Description

Learn to code in C++, one of the oldest and most popular programming languages in the market. This course is created to quickly give you the knowledge and practice you really need to master C++ basics. We will cover core concepts such as variables, arrays, vectors, functions, scope, namespaces, loops, references, prototypes, and more.

This course offers a comprehensive approach to learning C++, a language often considered difficult to master but with many advantages over other 'less powerful' programming languages such as Python or JavaScript. The course is divided into four distinct levels, each containing an introduction video, hands-on lessons, and exercises to practice key concepts. Level 1 covers basic programming concepts such as variables, arrays, vectors, and user input. Level 2 focuses on functions, scope, comments, and namespaces, while Level 3 delves into conditions (if statements) and for and while loops. Level 4 builds on these concepts, introducing references, prototypes, and the compilation from the terminal. Additionally, the course includes an extra bonus section on Object-Oriented Programming, a skill that is increasingly in demand in the industry. By the end of the course, you will have a solid understanding of how to organize your C++ code with .hpp and .cpp files, as well as the ability to write object-oriented code with C++.

What You Will Learn

Write clean C++ code from the scratch
Learn to use the C++ standard library
Learn all about variables, functions, loops, conditions, and more
Learn how to configure Visual Studio Code
Organize your C++ code with .hpp and .cpp files
Create prototypes for your C++ functions

Audience

This course is for programming beginners who want to start learning C++ with a comprehensive and to-the-point course; for programming beginners who learned another language before and want to switch to C++; for anyone interested in working on video games, embedded software, robotics, artificial intelligence, operating systems, and so on.

Approach

This is a learn-by-doing course that follows a hands-on approach with no complicated theoretical explanations. With each key concept, you get some exercises to practice on-exactly what you need to understand-so the learning is much more efficient.

Key Features

Get the fundamentals you need for your next C++ projects * Understand what a reference is and how to use it * Write OOP code with C++ and learn best practices from the start

Github Repo

https://github.com/PacktPublishing/Practical-C-Learn-C-Basics-Step-by-Step

About the Author
Edouard Renard

Edouard Renard is a software engineer, entrepreneur, and robotics teacher. He really enjoys teaching new technologies to people and making complex stuff easy to understand. His method is simple and consists of only three words: step by step. Edouard knows how hard it can be to learn a new topic and just be lost in an ocean of information without knowing what to do. In his courses, he makes sure that you learn one step at a time, through practice, and that you also learn the best practices. He is passionate about robotics and found that it's amazing how many cool projects you can do with a robot when you have the required programming knowledge.

Course Outline

1. Introduction

1. Welcome

This video introduces you to the course.

2. How to Follow This Course

This video explains how to follow through the course to make the best use of its contents.

3. Install Versus Code on Windows/Linux/MacOS

This video explains install versus code on Windows/Linux and MacOS.

4. Configure Visual Studio Code

This video explains how to configure Visual Studio Code.

5. Create a C++ Project for the Course

This video explains how to create a C++ project for the course.

2. C++ Basics Level 1

1. Introduction

This video introduces you to the section and what to expect out of it.

2. Your First C++ Program

This video explains how to write your first C++ program.

3. Variables

This video explains variables in C++.

4. Variables - Data Types

This video explains variables-data types such as floating number, integers, and so on.

5. Variables - Constants

This video explains variables-constants that cannot be modified in the future.

6. Arrays

This video explains arrays in C++ using an example.

7. Arrays with std:vector

This video explains arrays with std:vector using an example.

8. Get User Input

This video explains how to get user input in C++

9. C++ Level 1: Exercise

This video is an exercise in which you should write a code to ask the user for the name and age and then print the information.

10. C++ Level 1: Exercise - Solution

This video explains the solution for the previous exercise to print the name and age of the user.

3. C++ Basics Level 2

1. Introduction

This video introduces you to the section.

2. Functions

This video explains functions in C++.

3. Functions - Parameters

This video explains functions-parameters in C++

4. Functions - Return Statement

This video explains functions-return statement and how to use it in C++.

5. Variable Scope

This video explains variable scope in C++.

6. Comments

This video explains comments in C++.

7. Using Namespace std

This video explains using namespace std in C.

8. C++ Level 2: Exercises

This video is an exercise to rewrite the first exercise using functions and namespace std in C++ .

9. C++ Level 2: Exercises - Solution

This video explains the solution for the previous exercise to write a code using functions and namespace std.

4. C++ Basics Level 3

1. Introduction

This video introduces you to the section.

2. Conditional Statements with Booleans

This video explains conditional statements with Booleans.

3. Combining Conditional Statements

This video explains combining conditional statements.

4. Conditions with If

This video explains conditions with If using an example.

5. Else, Else If

This video explains else and else if using an example.

6. For Loop

This video explains for loop using an example.

7. While Loop

This video explains while loop using an example in C++.

8. Loops and Arrays

This video explains loops and arrays in C++.

9. C++ Level 3: Exercises

This video is an exercise to write code to compute the max value inside a list of numbers.

10. C++ Level 3: Exercises - Solution

This video explains the solution for the previous exercise to compute the max value inside a list of numbers.

5. C++ Basics Level 4

1. Introduction

This video introduces you to the section.

2. Functions - Pass Parameters by Copy or by Reference?

This video explains an overview of functions-passing parameters by copy or by reference.

3. Functions - Prototypes

This video explains functions-prototypes.

4. Organize Your Code (.hpp and .cpp Files)

This video explains organizing your code (.hpp and .cpp files).

5. Compile and Run a C++ Program in the Terminal

This video explains compiling and running a C++ program in the terminal.

6. C++ Level 4: Exercises

This video explains how to put two existing functions in a different file.

7. C++ Level 4: Exercises - Solution

This video explains the solution for the previous exercise.

6. Extra: C++ OOP

1. Introduction

This video introduces you to OOP.

2. What Is OOP, What Are Classes?

This video explains OOP and classes.

3. Create a C++ Class - Attributes, Constructor

This video explains how to create a C++ class-attributes, constructor.

4. Add Methods to the Class

This video explains how to add methods to the class.

5. Create an Object (Instance) from Your Class

This video explains how to create an object (instance) from your class.

6. Organize Your C++ OOP Code

This video explains how to organize your C++ OOP code.

7. Introduction to Inheritance

This video introduces you to the concept of inheritance in C++.

7. Conclusion

1. Best Practices When Writing C++ Code

This video explains best practices when writing C++ code.

2. What to Do Next

This video explains what to do next once this course is completed.

Course Content

  1. Practical C++: Learn C++ Basics Step by Step

About The Provider

Packt
Packt
Birmingham
Founded in 2004 in Birmingham, UK, Packt’s mission is to help the world put software to work in new ways, through the delivery of effective learning and i...
Read more about Packt

Tags

Reviews