Greetings,
I would like to ask you to help me with the console input. The problem is that a program which should read a number and then print it doesn't work properly. Once I run it, move a cursor to a console to write an input, only the first char appears while writing. For example; if I will be writing a number 123, only "1" will be shown in a console. However, if I hit the enter key to confirm input, output is shown correctly (123). What's the problem ?
Thanks
Regards
I would like to ask you to help me with the console input. The problem is that a program which should read a number and then print it doesn't work properly. Once I run it, move a cursor to a console to write an input, only the first char appears while writing. For example; if I will be writing a number 123, only "1" will be shown in a console. However, if I hit the enter key to confirm input, output is shown correctly (123). What's the problem ?
Thanks
Regards