123456789
file1.cpp #include<iostream> using namespace std; int main() { int x; cin>>x; return 0; }
file2.cpp #include<iostream> using namespace std; int main() { int y; ..... return 0; }
y=x