I wonder how you expect to know that your input is complete without any terminator.
And according to your example, you also don't have a fixed length:
Withoit an clear signal timeout seems to be the only way to know you are complete.
You may read input character by character without guarantee
how do decide for 1 or 10 or 100 or 1000 ?
Some ending character (eg. not numeric) or a fixed length is required
- Log in to post comments
.png)