My program prompts the user for a file name and I use getline to put it into my string variable. getline is not storing the user's input into filename. Why?
int main() {
string fileName;
cout << "==============================================================\n"
<< "| Welcome to the Automatic Maze Path Finder! |\n"
<< "=============================================================\n"
<< "\nEnter the name of the Maze configuration file: ";
getline(cin, fileName);
Also when using cout statements to test it puts the output onto the current command line. Ex: user@computer:~$ //program output goes here for some reason? Why is it doing this??