C++ Programming Course – Beginner to Advanced
July 10, 2024 2024-07-10 2:35C++ Programming Course – Beginner to Advanced
Learn modern C++ 20 programming in this comprehensive course.
π» Source code: https://github.com/rutura/The-C-20-Masterclass-Source-Code
βοΈ Course developed by Daniel Gakwaya. Check out his YouTube channel: https://www.youtube.com/channel/UCUYUFiuJ5XZ3JYtbq5dXRKQ
π¦ Twitter: https://twitter.com/learnqtguide
π Want more from Daniel? https://www.learnqt.guide/udemy-discounted-9/
π Join Daniel’s discord server for support: https://discord.com/invite/PcATcraESW
βοΈ Course Contents β
(0:00:00) Introduction
(0:04:32) Chapter 1: Setting up the tools
Tools
Installing C++ Compilers on Windows
Installing VS Code on Windows
Configuring Visual Studio Code for C++ on Windows
Installing C++ Compilers on Linux
Installing Visual Studio Code on Linux
Configuring Visual Studio Code for C++ on Linux
Installing C++ Compilers on MacOs
Installing Visual Studio Code on MacOs
Configuring Visual Studio Code for C++ on MacOs
Online Compilers
(1:43:01) Chapter 2: Diving in
Your First C++ Program
Comments
Errors and Warnings
Statements and Functions
Data input and output
C++ Program Execution Model
C++ core language Vs Standard library Vs STL
(3:00:47) Chapter 3: Variables and data types
Variables and data types Introduction
Number Systems
Integer types : Decimals and Integers
Integer Modifiers
Fractional Numbers
Booleans
Characters And Text
Auto
Assignments
Variables and data types summary
(4:46:46) Chapter 4: Operations on Data
Introduction on Data operations
Basic Operations
Precedence and Associativity
Prefix/Postfix Increment & Decrement
Compound Assignment Operators
Relational Operators
Logical Operators
Output formatting
Numeric Limits
Math Functions
Weird Integral Types
Data Operations Summary
(7:01:58) Chapter 5: Flow Control
Flow Control Introduction
If Statements
Else If
Switch
Ternary Operators
Flow Control Summary
(7:53:49) Chapter 6: Loops
Loops Introduction
For Loop
While Loop
Do While Loop
(8:47:08) Chapter 7: Arrays
Introduction to Arrays
Declaring and using arrays
Size of an array
Arrays of characters
Array Bounds
(9:53:23) Chapter 8: Pointers
Introduction to Pointers
Declaring and using pointers
Pointer to char
Program Memory Map Revisited
Dynamic Memory Allocation
Dangling Pointers
When new Fails
Null Pointer Safety
Memory Leaks
Dynamically allocated arrays
(12:11:04) Chapter 9: References
Introduction to References
Declaring and using references
Comparing pointers and references
References and const
(12:44:29) Chapter 10: Character Manipulation and Strings
Introduction to Strings
Character Manipulation
C-string manipulation
C-String concatenation and copy
Introducing std::string
Declaring and using std::string
(14:12:47) Chapter 11: Functions
The One Definition Rule
First Hand on C++ Functions
Function Declaration and Function Definitions
Multiple Files – Compilation Model Revisited
Pass by value
Pass by pointer
Pass by reference
(16:03:20) Chapter 12: Getting Things out of functions
Introduction to getting things out of functions
Input and output parameters
Returning from functions by value
(16:32:35) Chapter 13: Function Overloading
Function Overloading Introduction
Overloading with different parameters
(16:49:00) Chapter 14: Lambda functions
Intro to Lambda Functions
Declaring and using lambda functions
Capture lists
Capture all in context
Summary
(17:40:08) Chapter 15: Function Templates
Intro to function templates
Trying out function templates
Template type deduction and explicit arguments
Template parameters by reference
Template specialization
(19:04:31) Chapter 16: C++20 Concepts Crash course
Intro to C++20 Concepts
Using C++20 Concepts
Building your own C++20 Concepts
Zooming in on the requires clause
Combining C++20 Concepts
C++20 Concepts and auto
(20:15:40) Chapter 17: Classes
Intro to classes
Your First Class
C++ Constructors
Defaulted constructors
Setters and Getters
Class Across Multiple Files
Arrow pointer call notation
Destructors
Order of Constructor Destructor Calls
The this Pointer
struct
Size of objects
(22:52:43) Chapter 18: Inheritance
Introduction to Inheritance
First try on Inheritance
Protected members
Base class access specifiers : Zooming in
Closing in on Private Inheritance
Resurrecting Members Back in Context
Default Constructors with Inheritance
Custom Constructors With Inheritance
Copy Constructors with Inheritance
Inheriting Base Constructors
Inheritance and Destructors
Reused Symbols in Inheritance
(26:21:03) Chapter 19: Polymorphism
Introduction to Polymorphism
Static Binding with Inheritance
Dynamic binding with virtual functions
Size of polymorphic objects and slicing
Polymorphic objects stored in collections (array)
Override
Overloading, overriding and function hiding
Inheritance and Polymorphism at different levels
Inheritance and polymorphism with static members
Final
Virtual functions with default arguments
Virtual Destructors
Dynamic casts
Polymorphic Functions and Destructors
Pure virtual functions and abstract classes
Abstract Classes as Interfaces
source
Comments (24)
@adityamaurya7544
34:30
@yaminum
Chapter 1: Setting up the tools
00:04:32 C++ Dev Toolsβ
00:11:06 Installing C++ Compilers On Windowsβ
00:24:27 Installing VS Code On Windowsβ
00:28:00 Configuring Visual Studio Code For C++ On Windows
00:57:27 Installing C++ Compilers On Linux
01:04:02 Installing Visual Studio Code On Linux
01:07:40 Configuring Visual Studio Code For C++ On Linux
01:22:45 Installing C++ Compilers On MacOS
01:28:07 Installing Visual Studio Code On MacOS
01:30:16 Configuring Visual Studio Code For C++ On MacOS
01:35:37 Online Compilers
Chapter 2: Diving In
01:43:01 Your First C++ Program
01:55:56 Comments
02:01:56 Errors And Warnings
02:13:12 Statements And Functions
02:31:34 Input Output
02:49:57 C++ Program Execution Model & Memory Model
02:56:42 C++ Core Language VS Standard Library VS STL
Chapter 3: Variables And Data Types
03:00:47 Variables And Data Types Introduction
03:05:05 Number Systems
03:21:52 Integers
03:40:44 Integer Modifiers
03:54:00 Fractional Numbers
04:16:39 Booleans
04:24:49 Characters And Text
04:32:05 Auto
04:38:06 Assignments
04:45:42 Variables And Data Types Summary
Chapter 4: Operations on Data
04:46:45 Operations On Data Introduction
04:47:31 Basic Operations
04:58:01 Precedence and Associativity
05:12:06 Prefix And Postfix + & –
05:23:22 Compound Operators
05:31:43 Relational Operators: Comparing Stuff
05:40:51 Logical Operators
05:56:09 Output formatting
06:33:26 Numeric Limits
06:41:10 Math Functions
06:54:23 Weird Integral Types
06:59:41 Operations On Data Summary
Chapter 5: Flow Control
07:01:58 Flow Control: Conditional Programming Introduction
07:03:30 If Statement
07:20:49 Else If
07:28:46 Switch
07:42:44 Ternary Operator
07:52:20 Flow Control: Conditional Programming Summary
Chapter 6: Loops
07:53:49 Loops Introduction
07:55:20 For Loop
08:25:20 While Loop
08:36:54 Do While Loop
Chapter 7: Arrays
08:47:08 Arrays Introduction
08:48:45 Declaring And Using Arrays
09:15:53 Size Of An Array
09:26:44 Arrays Of Characters
09:46:46 Bounds Of An Array
Chapter 8: Pointers
09:53:23 Pointers Introduction
09:56:03 Declaring And Using Pointers
10:14:48 Pointer To Char
10:27:26 Program Memory Map
10:36:30 Dynamic Memory Allocation
11:05:45 Dangling Pointers
11:24:15 When New Fails
11:38:00 Null Pointer Safety
11:45:18 Memory Leaks
11:55:44 Dynamic Arrays
Chapter 9: References
12:11:04 References Introduction
12:11:58 Declaring And Using References
12:22:28 Comparing References To Pointers
12:37:25 References And Const
Chapter 10: Character Manipulation And Strings
12:44:29 Character Manipulation And Strings Introduction
12:46:24 Character Manipulation
13:09:28 C-String Manipulation
13:41:42 C-String Concatenation And Copying
14:01:19 Introducing std::string
14:03:38 Declaring And Using std::string
Chapter 11: Functions
14:12:47 One Definition Rule
14:28:25 First Hand On Functions
15:00:50 Function Declaration & Definition
15:15:30 Functions Across Multiple Files – Compilation Model Revisited
15:42:30 Pass By Value
15:50:30 Pass By Pointer
15:57:46 Pass By Reference
Chapter 12: Getting Things Out Of Functions
16:03:20 Getting Things Out Of Functions Introduction
16:03:58 Input And Output Parameters
16:17:54 Returning From Functions
Chapter 13: Function Overloading
16:32:35 Function Overloading Introduction
16:34:17 Overloading With Different Parameters
Chapter 14: Lambda Functions
16:49:00 Lambda Functions Introduction
16:49:38 Declaring And Using Lambda Functions
17:20:25 Capture Lists
17:34:24 Capture All In Context
Chapter 15: Function Templates
17:40:08 Function Templates Introduction
17:41:45 Trying Out Function Templates
18:19:52 Template Type Deduction And Explicit Arguments
18:35:47 Template Type Parameters By Reference
18:48:55 Template Specialization
Chapter 16: Concepts
19:04:31 Concepts Introduction
19:06:47 Concepts
19:25:32 Concepts: Building Your Own
19:42:45 Requires Clause: Zooming In
19:59:53 Logical Combinations Of Concepts
20:09:39 Concepts And Auto
Chapter 17: Classes
20:15:40 Classes Introduction
20:16:33 Your First C++ Class
20:38:03 Constructors
20:53:35 Defaulted Constructors
20:59:42 Setters And Getters
21:10:06 Class Across Multiple Files
21:30:49 Managing Class Objects Through Pointers
21:42:48 Destructors
22:05:44 Constructor & Destructor Call Order
22:11:03 The This Pointer
22:33:33 Struct
22:42:37 Size Of Class Objects
Chapter 18: Inheritance
22:52:43 Inheritance Introduction
22:55:59 Your First Try On Inheritance
23:21:10 Protected Members
23:32:06 Base Class Access Specifiers: Zooming In
23:36:49 Base Class Access Specifiers: A Demo
24:07:42 Closing In On Private Inheritance
24:26:36 Resurrecting Members Back In Scope
24:46:59 Default Arg Constructors With Inheritance
24:57:37 Custom Constructors With Inheritance
25:26:56 Copy Constructors With Inheritance
25:51:53 Inheriting Base Constructors
26:06:00 Inheritance With Destructors
26:12:20 Reused Symbols In Inheritance
Chapter 19: Polymorphism
26:21:03 Polymorphism Introduction
26:26:54 Static Binding With Inheritance
26:55:24 Polymorphism (Dynamic Binding) With Virtual Functions
27:14:31 Size Of Polymorphic Objects And Slicing
27:26:37 Polymorphic Objects Stored In Collections
27:45:42 Override
27:52:45 Overloading, Overriding And Hiding
28:07:35 Inheritance And Polymorphism At Different Levels
28:33:03 Inheritance And Polymorphism With Static Members
28:49:13 Final
29:07:42 Virtual Functions With Default Arguments
29:23:18 Virtual Destructors
29:35:38 Dynamic_cast<>()
30:08:17 Don't Call Virtual (Polymorphic) Functions From Constructors & Destructors
30:24:45 Pure Virtual Functions And Abstract Classes
30:43:37 Abstract Classes As Interfaces
@gamescentre1398
I really want to thank you for your effort. I'm in a critical period of my life and I have to choose my major. I couldn't understand programming well, so I eliminated this major from my calculation until I watch this course. Again, I thank you very much
@BigmanJenzz
i wasts hol widio
@mrbellolegua
Hi guys on 06:32:03 he defines a int g {45} but at console it shows 55, why is that? https://youtube.com/clip/UgkxVXTpaKOnnTX_jwzgvidY5URHI41xttYd?si=wYvUYBV8M_OWEymU
@zainababrar9581
The Gcc min gw with LLM is not getting installed It is showing virus detected . Please give me an alternative
@MohammedShafiq-i5v
Chapter 8: Pointers
09:53:23 Pointers Introduction
09:56:03 Declaring And Using Pointers
10:14:48 Pointer To Char
10:27:26 Program Memory Map
10:36:30 Dynamic Memory Allocation
11:05:45 Dangling Pointers
11:24:15 When New Fails
11:38:00 Null Pointer Safety
11:45:18 Memory Leaks
11:55:44 Dynamic Arrays
Chapter 9: References
12:11:04 References Introduction
12:11:58 Declaring And Using References
12:22:28 Comparing References To Pointers
12:37:25 References And Const
@truongkhang7826
When I type clang++ –version, an error window appears saying "The code execution cannot proceed because libLLVMNVPTXDesc.dll was not found. Reinstalling the program may fix this problem", I'm not really what it means reinstalling the program, could you give me some tips?
@iampramesh
4:38:13
@MohammedShafiq-i5v
Chapter 1: Setting up the tools
00:04:32 C++ Dev Tools
00:11:06 Installing C++ Compilers On Windows
00:24:27 Installing VS Code On Windows
00:28:00 Configuring Visual Studio Code For C++ On Windows
00:57:27 Installing C++ Compilers On Linux
01:04:02 Installing Visual Studio Code On Linux
01:07:40 Configuring Visual Studio Code For C++ On Linux
01:22:45 Installing C++ Compilers On MacOS
01:28:07 Installing Visual Studio Code On MacOS
01:30:16 Configuring Visual Studio Code For C++ On MacOS
01:35:37 Online Compilers
Chapter 2: Diving In
01:43:01 Your First C++ Program
01:55:56 Comments
02:01:56 Errors And Warnings
02:13:12 Statements And Functions
02:31:34 Input Output
02:49:57 C++ Program Execution Model & Memory Model
02:56:42 C++ Core Language VS Standard Library VS STL
Chapter 3: Variables And Data Types
03:00:47 Variables And Data Types Introduction
03:05:05 Number Systems
03:21:52 Integers
03:40:44 Integer Modifiers
03:54:00 Fractional Numbers
04:16:39 Booleans
04:24:49 Characters And Text
04:32:05 Auto
04:38:06 Assignments
04:45:42 Variables And Data Types Summary
Chapter 4: Operations on Data
04:46:45 Operations On Data Introduction
04:47:31 Basic Operations
04:58:01 Precedence and Associativity
05:12:06 Prefix And Postfix + & –
05:23:22 Compound Operators
05:31:43 Relational Operators: Comparing Stuff
05:40:51 Logical Operators
05:56:09 Output formatting
06:33:26 Numeric Limits
06:41:10 Math Functions
06:54:23 Weird Integral Types
06:59:41 Operations On Data Summary
Chapter 5: Flow Control
07:01:58 Flow Control: Conditional Programming Introduction
07:03:30 If Statement
07:20:49 Else If
07:28:46 Switch
07:42:44 Ternary Operator
07:52:20 Flow Control: Conditional Programming Summary
Chapter 6: Loops
07:53:49 Loops Introduction
07:55:20 For Loop
08:25:20 While Loop
08:36:54 Do While Loop
Chapter 7: Arrays
08:47:08 Arrays Introduction
08:48:45 Declaring And Using Arrays
09:15:53 Size Of An Array
09:26:44 Arrays Of Characters
09:46:46 Bounds Of An Array
Chapter 8: Pointers
09:53:23 Pointers Introduction
09:56:03 Declaring And Using Pointers
10:14:48 Pointer To Char
10:27:26 Program Memory Map
10:36:30 Dynamic Memory Allocation
11:05:45 Dangling Pointers
11:24:15 When New Fails
11:38:00 Null Pointer Safety
11:45:18 Memory Leaks
11:55:44 Dynamic Arrays
Chapter 9: References
12:11:04 References Introduction
12:11:58 Declaring And Using References
12:22:28 Comparing References To Pointers
12:37:25 References And Const
Chapter 10: Character Manipulation And Strings
12:44:29 Character Manipulation And Strings Introduction
12:46:24 Character Manipulation
13:09:28 C-String Manipulation
13:41:42 C-String Concatenation And Copying
14:01:19 Introducing std::string
14:03:38 Declaring And Using std::string
Chapter 11: Functions
14:12:47 One Definition Rule
14:28:25 First Hand On Functions
15:00:50 Function Declaration & Definition
15:15:30 Functions Across Multiple Files – Compilation Model Revisited
15:42:30 Pass By Value
15:50:30 Pass By Pointer
15:57:46 Pass By Reference
Chapter 12: Getting Things Out Of Functions
16:03:20 Getting Things Out Of Functions Introduction
16:03:58 Input And Output Parameters
16:17:54 Returning From Functions
Chapter 13: Function Overloading
16:32:35 Function Overloading Introduction
16:34:17 Overloading With Different Parameters
Chapter 14: Lambda Functions
16:49:00 Lambda Functions Introduction
16:49:38 Declaring And Using Lambda Functions
17:20:25 Capture Lists
17:34:24 Capture All In Context
Chapter 15: Function Templates
17:40:08 Function Templates Introduction
17:41:45 Trying Out Function Templates
18:19:52 Template Type Deduction And Explicit Arguments
18:35:47 Template Type Parameters By Reference
18:48:55 Template Specialization
Chapter 16: Concepts
19:04:31 Concepts Introduction
19:06:47 Concepts
19:25:32 Concepts: Building Your Own
19:42:45 Requires Clause: Zooming In
19:59:53 Logical Combinations Of Concepts
20:09:39 Concepts And Auto
Chapter 17: Classes
20:15:40 Classes Introduction
20:16:33 Your First C++ Class
20:38:03 Constructors
20:53:35 Defaulted Constructors
20:59:42 Setters And Getters
21:10:06 Class Across Multiple Files
21:30:49 Managing Class Objects Through Pointers
21:42:48 Destructors
22:05:44 Constructor & Destructor Call Order
22:11:03 The This Pointer
22:33:33 Struct
22:42:37 Size Of Class Objects
Chapter 18: Inheritance
22:52:43 Inheritance Introduction
22:55:59 Your First Try On Inheritance
23:21:10 Protected Members
23:32:06 Base Class Access Specifiers: Zooming In
23:36:49 Base Class Access Specifiers: A Demo
24:07:42 Closing In On Private Inheritance
24:26:36 Resurrecting Members Back In Scope
24:46:59 Default Arg Constructors With Inheritance
24:57:37 Custom Constructors With Inheritance
25:26:56 Copy Constructors With Inheritance
25:51:53 Inheriting Base Constructors
26:06:00 Inheritance With Destructors
26:12:20 Reused Symbols In Inheritance
Chapter 19: Polymorphism
26:21:03 Polymorphism Introduction
26:26:54 Static Binding With Inheritance
26:55:24 Polymorphism (Dynamic Binding) With Virtual Functions
27:14:31 Size Of Polymorphic Objects And Slicing
27:26:37 Polymorphic Objects Stored In Collections
27:45:42 Override
27:52:45 Overloading, Overriding And Hiding
28:07:35 Inheritance And Polymorphism At Different Levels
28:33:03 Inheritance And Polymorphism With Static Members
28:49:13 Final
29:07:42 Virtual Functions With Default Arguments
29:23:18 Virtual Destructors
29:35:38 Dynamic_cast<>()
30:08:17 Don't Call Virtual (Polymorphic) Functions From Constructors & Destructors
30:24:45 Pure Virtual Functions And Abstract Classes
30:43:37 Abstract Classes As Interfaces
@user-lt9ko9eu8d
I swear Mom jst one more vedio before going to sleepππ»
@waidoz5
On 14:40 when i clicked the latest version of the WinLibs GCC my anti-virus blocked it saying it a threat and says it has Trojan. Does anyone have that happen to them. like what going on here.
@stemistgirl
Set-Location : A positional parameter cannot be found that accepts argument 'Office'.
At line:1 char:1
+ cd C:UsersuserDocumentsCustom Office TemplatesProjects
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (:) [Set-Location], ParameterBindingException
+ FullyQualifiedErrorId : PositionalParameterNotFound,Microsoft.PowerShell.Commands.SetLocationCommand
Can you help me to fix this error, I was trying to configure cl.exe and I repeatedly got this. Thanks in advance
@user-ud9dq3gn2l
God bless u for such a massive effort for making this video and also understandable for free. thanks
@AhnafRaisMahi-xr8xm
for building command line you can use
g++ -g main.cpp -o main1.exe
@k__106
I was trying to download the compiler but it said that there is a virus detected
@abhilashasharma576
can i use sublime text for writing code?
@shauryapradhan1785
05:57:27 time stamp 4
@durgapradhan6850
05:27:41 time stamp
@shauryapradhan1785
05:27:40 timestamp3
@shauryapradhan1785
04:58:03 timestamp 2
@shauryapradhan1785
04:52:28 timestamp
@AsaraKhatun-uf4uf
Dada physics a math solve kore din and tar upor video din
@urgjendevetak3605
1:04:33:08