alias namespc

Solutions on MaxInterview for alias namespc by the best coders in the world

showing results for - "alias namespc"
Camila
19 May 2019
1#include <iostream>
2
3using namespace std;
4
5namespace verylargenamespacename{
6int x;
7namespace nestednamespace{
8void display(){
9cout << x;
10}
11}
12}
13
14namespace one = verylargenamespacename;
15namespace nested = one :: nestednamespace;
16int main()
17{
18one ::x = 100;
19nested :: display();
20return 0;
21}
22
23 
similar questions
alias namespaces c 2b 2b
queries leading to this page
alias namespcalias namespc