123456789101112131415
int main(int argc, char** argv) { string userInput = "Tom Hanks"; string temp = "huh?"; stack<string> myStack; Graph myGraph(temp); //cin>>userInput; FindPath myPath(myGraph, userInput); myPath.pathTo(userInput, myStack); cout<<"Distance: "<<myPath.distanceTo(userInput)<<endl; return 0;