Question:What is the difference between functions getch() and getche()? 

Answer Both functions will accept a character input value from the user. When using getch(), the key that was pressed will not appear on the screen, and is automatically captured and assigned to a variable. When using getche(), the key that was pressed by the user will appear on the screen, while at the same time being assigned to a variable. 

+ Report
Total Preview: 915
What is the difference between functions getch() and getche()?
Copyright © 2024. Powered by Intellect Software Ltd