C++ namespace | How namespace works in C++ - part 1

Published: 26 June 2022
on channel: ZebraCode
623
34

This video will teach you the concept of namespace and how it works in C++. You will also learn about the C++ Scope Resolution Operator. The video explains how to work with namespace from a single file and namespace from multiple libraries.
This is part one of two separate videos on the topic of namespace in C++.

Timestamp
00:00:00 - Introduction to Namespace in C++
00:01:50 - What is Namespace?
00:02:22 - Why do we use Namespace in C++?
00:04:05 - Using Namespace (no namespace)
00:05:33 - Using Namespace
00:08:19 - Namespace Standard Declaration
00:09:45 - Using Namespace Standard and Objects
00:11:52 - C++ Scope Resolution Operator
00:15:48 - More on Using Namespace
00:19:12 - Creating a namespace in C++
00:20:29 - C++ Unnamed Namespace
00:24:36 - Namespaces from Multiple Libraries
00:27:07 - Namespace Clashes
00:28:54 - Creating and Adding Namespace
00:29:53 - Accessing Namespace Members
00:30:39 - Namespace Alias in C++
00:34:12 - Accessing Namespace Members from Multiple Files in a Programme
00:35:58 - Namespace Nesting (Namespace within a Namespace) in C++
00:37:13 - Accessing Members of Nested Namespaces
00:38:39 - Key Facts about Namespaces
00:42:10 - Programme with Examples of Namespaces in C++

Source code for the cities.cpp file available for download at the link below.
https://github.com/myzebracode/cpp/bl...


Watch video C++ namespace | How namespace works in C++ - part 1 online without registration, duration hours minute second in high quality. This video was added by user ZebraCode 26 June 2022, don't forget to share it with your friends and acquaintances, it has been viewed on our site 623 once and liked it 34 people.