Friend functions and classes in C++ (Programming for beginners)

šŸ“š Learn how to solve problems and build projects with these Free E-Books ā¬‡ļø C++ Lambdas e-book - free download here: https://bit.ly/freeCppE-Book Entire Object-Pascal step-by-step guide - free download here: https://bit.ly/FreeObjectPascalEbook šŸš€šŸ“ˆšŸ’»šŸ”„ My Practical Programming Course: https://www.codebeautyacademy.com/ Experience the power of practical learning, gain career-ready skills, and start building real applications! This is a step-by-step course designed to take you from beginner to expert in no time! šŸ’° Here is a coupon to save 10% on your first payment (CODEBEAUTY_YT10). Use it quickly, because it will be available for a limited time. In programming, like in real life, exists the concept of friendship. In the same way that your friends in real life can access private areas of your life (that are inaccessible to other people), in programming, a friend function or a friend class can access private and protected members of a specific class. In this video, you'll learn how to work with friend functions and classes, friend functions and classes common uses, as well as the most important tips related to friend functions and friend classes. And at the end, you can find a homework task in order to practice programming on your own. The solution for that task will be pinned in the comment. Contents: 00:00 - What are friend functions 00:52 - Best extension for Visual Studio C++ 02:10 - Let's create a problem 07:19 - Solving the problem with friend functions 10:37 - Multiple friend functions 11:28 - Friend classes 14:48 - Important tips about friend functions and classes 16:22 - Homework (operator overloading and friend functions) Videos mentioned in this tutorial that you should watch: Must know Visual Assist features -    • MyĀ topĀ 5Ā VisualĀ AssistĀ features!Ā BestĀ Visu...Ā Ā  Encapsulation -    • C++Ā OOPĀ -Ā WhatĀ isĀ encapsulationĀ inĀ program...Ā Ā  Inheritance -    • C++Ā OOPĀ -Ā WhatĀ isĀ inheritanceĀ inĀ programming?Ā Ā  Operator overloading -    • C++Ā OperatorĀ OverloadingĀ beginnerĀ toĀ advan...Ā Ā  Add me on: Instagram šŸ“ø - Ā Ā /Ā truecodebeautyĀ Ā  Twitter 🐦- Ā Ā /Ā truecodebeautyĀ Ā 

What are header files in C++ ( PROGRAMMING TUTORIAL for beginners)
ā–¶ļøŽ

What are header files in C++ ( PROGRAMMING TUTORIAL for beginners)

SMART POINTERS in C++ (for beginners in 20 minutes)
ā–¶ļøŽ

SMART POINTERS in C++ (for beginners in 20 minutes)

Relationship between Virtual Functions, Pure Virtual Functions and Abstract Classes in OOP explained
ā–¶ļøŽ

Relationship between Virtual Functions, Pure Virtual Functions and Abstract Classes in OOP explained

C++ Object Oriented Programming Crash Course (1.5 HOURS)
ā–¶ļøŽ

C++ Object Oriented Programming Crash Course (1.5 HOURS)

Lambda expressions in modern C++ (in depth step by step tutorial)
ā–¶ļøŽ

Lambda expressions in modern C++ (in depth step by step tutorial)

It's not hard to make games in C++! Here's how
ā–¶ļøŽ

It's not hard to make games in C++! Here's how

Every C++ Concept Explained in 12 Minutes
ā–¶ļøŽ

Every C++ Concept Explained in 12 Minutes

Pointers in C / C++ [Full Course]
ā–¶ļøŽ

Pointers in C / C++ [Full Course]

Exception handling in C++ (How to handle errors in your program?)
ā–¶ļøŽ

Exception handling in C++ (How to handle errors in your program?)

What is "using namespace std" and why is it considered a BAD PRACTICE? C++ Programming Questions
ā–¶ļøŽ

What is "using namespace std" and why is it considered a BAD PRACTICE? C++ Programming Questions

Trump Preps for 80th Birthday, Threatens to Hit Iran, Knicks Historic Win & Elon Musk Trillionaire!?
ā–¶ļøŽ

Trump Preps for 80th Birthday, Threatens to Hit Iran, Knicks Historic Win & Elon Musk Trillionaire!?

C++ Structures for beginners (explained in 30 minutes) + Test your programming knowledge!
ā–¶ļøŽ

C++ Structures for beginners (explained in 30 minutes) + Test your programming knowledge!

why do header files even exist?
ā–¶ļøŽ

why do header files even exist?

The Match That Made Brazilians Hate Germany
ā–¶ļøŽ

The Match That Made Brazilians Hate Germany

DATA STRUCTURES - How to work with arrays? (for beginners) - Arrays explained in 30 minutes!
ā–¶ļøŽ

DATA STRUCTURES - How to work with arrays? (for beginners) - Arrays explained in 30 minutes!

C++ Operator Overloading beginner to advanced (in-depth explanation)
ā–¶ļøŽ

C++ Operator Overloading beginner to advanced (in-depth explanation)

STL Templates in C++ - Generic Functions and Classes (beginner-friendly)
ā–¶ļøŽ

STL Templates in C++ - Generic Functions and Classes (beginner-friendly)

Advanced Inheritance & Polymorphism - example with Array of Objects (in-depth Data Structures & OOP)
ā–¶ļøŽ

Advanced Inheritance & Polymorphism - example with Array of Objects (in-depth Data Structures & OOP)

16 C++ Habits That Make Your Code Better
ā–¶ļøŽ

16 C++ Habits That Make Your Code Better

What is STACK data structure in C++? What is LIFO? STL Stack explained in 14 mins! DATA STRUCTURES
ā–¶ļøŽ

What is STACK data structure in C++? What is LIFO? STL Stack explained in 14 mins! DATA STRUCTURES