WordChosenDuplicate.insert(0,WordChosen.length," _ ");
cout <<WordChosenDuplicate<< endl;
I get the following error when I try to run this code
error C3867: 'std::basic_string<_Elem,_Traits,_Ax>::length': function call missing argument list; use '&std::basic_string<_Elem,_Traits,_Ax>::length' to create a pointer to member c:\documents and settings\main\my documents\uni\2nd year\tp2\hangman\hangman\hangman.cpp 119