You need have to include the .h file for declaration for class A in the file where "class B" declaration is there.
Apart from that tempo is what here?