You could get a pointer to the array. so int file "A"
Object arr[5];
Object* GetArr(){
return &arr;
}
and file "B"
#include "a.cpp"
void DoSomething(){
Object* pArr = GetArr();
//use pArr
}
That may work for your situation. Good Luck