Browse - Programming Tips - Why aren't Borland C++'s conio functions working for me?
Q. Why aren't Borland C++'s conio functions working for me?
A. The <conio.h> functions worked fine for older versions
of Windows but don't work for modern versions.
These are the functions:
clreol( void );
clrscr( void );
gotoxy( int __x, int __y );
getch( void );
getche( void );
kbhit( void );
putch( int __c );
wherex( void );
wherey( void );
I have found that they only work intermittently for me in Vista and later.
Instead use ReadConsoleInput WriteConsole and friends.