Alright, I cannot get the getline function to work. I have iostream included, using namespace std, and here is the syntax I have down:
cin.getline(playerOne, 21); with playerOne declared previously as a string, and I want its max input to be 20 characters.
What's going on here? It's not working in Dev-C++, and I can't figure out why.