No i had to use the Enter key. But i figured it out by using '\n' to break the loop. So it is all good now. Thank you very much for your help. :)
Type: Posts; User: bengican
No i had to use the Enter key. But i figured it out by using '\n' to break the loop. So it is all good now. Thank you very much for your help. :)
Thank you very much! I think this is the way :) But how do i get out of the loop? If i put break; it only prints the first input, if i don't it asks me forever for input.
Hi everyone, i need to scan multiple inputs at the same line and number of inputs is up to the user. I have searched a lot and tried everything but i was unable to do it. I think we can do it easily...