Friend Classes | Introduction to Programming with C++ | Part 45
A class can also be declared to be a friend of some other class. When a class is declared as a friend inside another class, all the member functions inside the friend class are accessible for the other classes. This is similar to how friend functions work. The friend becoming class should first be declared inside the targetted class. (forward declaration) 🔴https://www.youtube.com/watch?v=4lqY8wuZ-PU&t=4s Plugins🔌 ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ ►Instagram: https://www.instagram.com/CodingCleverly/ ►TikTok: https://www.tiktok.com/@codingcleverly/ ►GitHub: https://github.com/codingcleverly ►Patreon: https://www.patreon.com/HarisIftikhar SUBSCRIBE🔔 ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ Relevancy dies in a heartbeat, and I would love to sustain this channel in the long run. Every subscriber counts and it really means the world if you were one of them. So please SUBSCRIBE to my CHANNEL. Most Engrossing Videos🎬 ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ 🔴https://www.youtube.com/watch?v=aVsDJb7deeA&t=4s 🔴https://www.youtube.com/watch?v=2hKwSrOhDD0&t=2s 🔴https://www.youtube.com/watch?v=_K0RHi4dA5Y&t=1s 🔴https://www.youtube.com/watch?v=BlRH18-Fp9w&t=1s 🔴https://www.youtube.com/watch?v=YurqBK1xL90&t=40s Gear⚙️ ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ Laptop: HP Spectre 13 Microphone: PC Mic Mentions👥 ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ https://www.youtube.com/channel/UCEak_TSGMnAlh0kdqixjxgw
Download
0 formatsNo download links available.