I'm not sure if I posted this before, sorry if I did. I'm using gcc. The files are attached.
Pretty much whenever I input a really long string (over 20 characters) in the first method grab_string, the second time around a string is automatically inputted whenever I call grab_string_ml. Why is this happening and how can I fix it?
Here's the console info that I have...
Code:$ ./main
Input something - > wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
wwwwwwwwwwwwwwwwwwww
Input something - > w
