Advertisement
brainode

y1

Oct 18th, 2015
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.22 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. using std::cout;
  4. using std::endl;
  5.  
  6. namespace source1
  7. {
  8.     int y1, x1;
  9.     extern int x,y;
  10. }
  11. using namespace source1;
  12.  
  13. int main()
  14. {
  15.     cout << y1 << endl;
  16.     cout << source1::x << endl;
  17.     return 0;
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement