How can I do this so that the character in the console is read immediately after entering, without pressing Enter? I don’t want to use _getch , because I have to connect "conio.h" for this function _getch , and it also inserts '0' into the input stream after input character.

  • How does the program understand that the input is complete? - ArchDemon
  • Any character is received == input is complete - escape

0