I have been trying to get this part of my code to work for over an hour. The program is supposed to get a sentence from the user, and write it to the file "meetingNotes.txt". When i run the program it doesn't allow the user to input anything. I think the problem is the getline, but i can't figure out why. Please help!
It works for me,and i cannot see any bugs there,well
sometimes IDE goes mad about "getline(cin,*variable*)"
Try changing getline with cin
so like that: