The only & in the sample code is between string and message. The token before & is string. It does not know what string is. Make certain you #include <string> (or any other class you use, remove any "using namespace" from header files (bad programming style), and place the std:: before any...