Is there any standard function in gcc that is equivalent to getch() so that I can read the input without hitting enter key?
Jump to Post
getch()is not and never has been part of the language definition, you should consider not using it at all.
The link claims the conio.h is deprecated. It is not deprecated. It has never been defined by C nor C++. It's simply an add-on header extremely few compilers …
All 6 Replies
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.