Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- namespace A
- {
- class C_1
- {
- public:
- int int1 = 45;
- };
- }
- int main()
- {
- A::C_1 object1;
- cout << object1.int1 << endl;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement