I am writing a function to be used from the command line. So I have a loop on cin. What condition shall I use to break the loop ? Or what escapre character shall I use to mimic a EOF ?
Thanks ne555,
I am on Linux. I found already Ctrl-D that works in the console, but not in eclipse console in run/debug mode. Thought, I checked the keys strokes definitions, and ctrl-D is assigned to EOF in run/debug mode. So, it should work. Possibly an Eclipse bug ?