I have been trying to build/ compile this program but i keep encountering this error message:
build/Debug/GNU-Linux-x86/MissionPlan.o: In function `LocationData':
/home/teocl5/NetBeansProjects/TeoChoonLong_4153480_Assn1/LocationData.cpp:8: multiple definition of `LocationData::LocationData()'
build/Debug/GNU-Linux-x86/LocationData.o:/home/teocl5/NetBeansProjects/TeoChoonLong_4153480_Assn1/LocationData.cpp:8: first defined here
As the error message tells you, the error is in MissionPlan.cpp. You probably included the source file instead of the header.
Also, use the initialization list for member initializations and never use using namespace std; in a header.
Pass strings and similar types as a constant reference.