extern A A1 没有include<xxxApp.h>比较合适的做法是:
a.cpp中 定义 A A1;
在a.h的尾部加入 extern A A1;这样,所有include"a.h"的模块都可以访问到A1