Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <string>
- #include <fstream>
- namespace NS1
- {
- void Func()
- {
- std::cout << "Func NS1" << std::endl;
- }
- }
- namespace NS2
- {
- void Func()
- {
- std::cout << "Func NS2" << std::endl;
- }
- }
- using namespace NS2;
- int main(int argc, char *argv[])
- {
- setlocale(LC_ALL, "Rus");
- srand(time(NULL));
- NS1::Func();
- Func();
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement