Hi, so I've spent hours pouring over different forums and documentation and I cannot for the life of me figure out why during case 'D' it doesn't accept new input for the c-string userString.
There are other functions present in my code but they all work as intended so aren't included here, I left the whole main function in just for context as to what's happening. Option D is supposed to let the user input a new string, and then continue as normal (looping). But instead all it does is display the text for a new entry and then keep looping the menu without allowing any new input to even be typed.
Any hints? Should I have the string input in its own function? (I have tried this, but can't figure out how to return a char...)
EDIT: Also, I am supposed to be using c-strings specifically and passing pointers, if that makes any difference.