how to ADD reference in c++?Hello I have two pieces of codes. first is written in c++ as general program while second is the AP...