I\'m writing a program which is supposed to read two strings that can contain line breaks and various other characters. Therefore, I\'m using EOF (Ctrl-Z or Ctrl-D) to end t
I run the code on my linux box, here is the result:
Enter a: qwer asdf Enter b: 123 456 Results: a: qwer asdf b: 123 456
Two Ctrl-D was needed because the terminal input buffer was not empty.