gconio.h -- Incompatibility is over!


gconio.h was written to be a replacement library for Borland C-specific conio.h functions for the GNU C Compiler. Later on, more code was added to make the library compatible with Microsoft Visual C. In the latest version, more functions and aliases have been added to make sure all code snippets from the C courses at the Erasmus Hogeschool Brussel work in both the GNU C Compiler and Microsoft Visual C.

About the Authors

Nearly all code in gconio.h was written by Wence Van der Meersch <wence AT i-vision DOT be> and Filip Duyck <filip AT factor9 DOT be>. Portions of the code added for Microsoft Visual C compatibility were written by Sebastien Boelpaep <[email protected]>, as outlined in the gconio.h source code.


gconio.h is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

gconio.h is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose. See the GNU General Public License for more details.


gconio.h v0.5 can be downloaded here.


Copy the gconio.h file to your compiler's include directory (defaults: "C:\Program Files\Microsoft Visual Studio\VC98\Include" for MSVC6, "/usr/include" for GCC) and include using #include <gconio.h>

Function overview



gconio.h is (c) copyright 2002-2003 Wence Van der Meersch and Filip Duyck.