I can use getche() function on windows borland but I cant use getche() on linux.İs there any alternative this functions on linux?? Please help I look all internet sites and I cant find any alternative
@link provided by kbw - please enclose non-standard platform specifics with preprocessor conditionals. Otherwise non-posix systems will encounter obscure compile-time errors. It's always good practice to protect your translation units from non-standard elements like shown below. I realize this is the UNIX section, but there is absolutely no reason to make this function platform-dependent given how easy it is to make a cross-platform, modular solution of it.