Conio.h is a C header file used mostly by MS-DOS compilers to provide console input/output. It is not part of the C standard library or ISO C, nor it is defined by POSIX. This header declares several useful library functions for performing 'console input and output' from a program. With this implementation, you can use the programs writed with the conio.h in windows and linux, using the ncurses for linux to simulate the conio.h functions. It work on windows and linux, and use the Borland Style Conio2.h code. Read the README file and have fun! Conio.h is a C header file used in old MS-DOS compilers to create text user interfaces. Compilers that targeted non-DOS operating systems, such as Linux, Win32 and OS/2, provided different implementations of these functions. The #include h will give you almost all the functionalities that was provided in conio.h. Conio.h is a C header file used mostly by MS-DOS compilers to provide console input/output. It is not part of the C standard library or ISO C. This header declares several useful library functions for performing 'console input and output' from a p. Dismiss Join GitHub today. GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together. Jul 18, 2017 DevCpp IDE for C/C has gcc/g compiler version which do not have conio.h header file. ‘conio.h' is included in MSDOS compilers but not in gcc/g. Hence, you cannot include conio.h in DevC. But still there are certain substitute which may be.
- Biblioteca Conio H Dev C Online
- Biblioteca Conio H Dev C 2017
- C++ Conio.h Functions
- Libreria Conio.h Dev C++
- Getch
For use on POSIX platforms (like Ubuntu): NCurses
http://www.gnu.org/software/ncurses/
For use on Windows: PDCurses
http://pdcurses.sourceforge.net/
Both are highly compatible and, unless you are doing something the documentation says is specific to one or the other, they should work identically.
Here are some useful links:
Links for getting started: http://www.cplusplus.com/forum/windows/15935/#msg79025
Basics: http://www.cplusplus.com/forum/beginner/5796/#msg25862
Basic example ('Press the 'any' key'): http://www.cplusplus.com/forum/general/497/#msg1734
Informative example: http://www.cplusplus.com/forum/beginner/4520/#msg19965
Basic color example: http://www.cplusplus.com/forum/general/11032/2/#msg52617
Another color example: http://www.cplusplus.com/forum/general/11032/#msg52049
Wikipedia article & links: http://en.wikipedia.org/wiki/Ncurses
'NCURSES programming HOWTO': http://tldp.org/HOWTO/NCURSES-Programming-HOWTO/
Be sure to look around for good documentation too. A good start is to Google for 'man curses'.
Hope this helps.
Join GitHub today
Biblioteca Conio H Dev C Online
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Biblioteca Conio H Dev C 2017
Sign upBranch:master
C++ Conio.h Functions
Libreria Conio.h Dev C++
Getch
Instalando a biblioteca Conio2 no DevC++ |
Passos: |
1º : Obtenha os arquivos da biblioteca Conio2 ( 'conio2.h' e 'libconio.a' ) |
2º : Coloque o arquivo 'conio2.h' na pasta 'include' da pasta do DevC++ ( C:Dev-Cppinclude ). |
3º : Coloque o arquivo 'libconio.a' na pasta 'lib' da pasta do DevC++ ( C:Dev-Cpplib ). |
4º : Feitos os passos anteriores. Abra o DevC++, e clique em: Ferramentas -> Opções do Compilador . |
5º : Na aba 'Compilador', marque a opção 'Adicionar estes comandos à linha de comando do linker' |
6º : No campo da opção marcada, digite: -l conio |
7º : Clique em 'ok' na janela. E... Voilà!! Conio2 instalada!!! Agora é só aproveita-la!! |
Obs: Para utilizar comandos da 'conio2.h' no seu código fonte, você deverá incluí-la como fazemos com as outras bibliotecas : #include <conio2.h> |
Créditos: Fernando Lafetá |
Copy lines Copy permalink