Dev C++ Libreria Conio H
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.
All C inbuilt functions which are declared in conio.h header file are given below. The source code for conio.h header file is also given below for your reference. Traktor pro 3.1 download.
I've just installed Dev-C 5.11 on Windows 7 64 bits. I can compile and execute the program just fine. I can add a watchpoint and go step by step, BUT if I add a Watch to see a variable, the debug freezes. I hit F7 and it won't advance any step further. I'm using default compiler (TDM-GCC 4.9.2 64bit) and added -g on Compiler options. 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. New version 6.1 in 2018.06.21. This project presents clone of the Borland Turbo C/C or Embarcadero C 10.1 ‘Berlin’ library 'conio' for the GCC compiler, more precisely for the C language in Windows, Linux and Mac OS operating systems. Because all functions are defined within the header file itself, the installation is simple.
List of inbuilt C functions in conio.h file:
Description | |
clrscr() | This function is used to clear the output screen. |
getch() | It reads character from keyboard |
getche() | It reads character from keyboard and echoes to o/p screen |
textcolor() | This function is used to change the text color |
textbackground() | This function is used to change text background |
Source code for conio.h header file:
Please find the source code for conio.h header file below. This code is taken from DevC++ compiler files for your reference.
Dev C++ Libreria Conio.h
2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 | * conio.h * This file has no copyright assigned and is placed in the Public Domain. * This file is a part of the mingw-runtime package. * No warranty is given; refer to the file DISCLAIMER within the package. * Low level console I/O functions. Pretty please try to use the ANSI * #define _CONIO_H_ /* All the headers include this file. */ extern'C'{ _CRTIMP int__cdecl _cprintf(constchar*,...); _CRTIMP int__cdecl _cscanf(char*,...); _CRTIMP int__cdecl _getch(void); _CRTIMP int__cdecl _kbhit(void); _CRTIMP int__cdecl _ungetch(int); #ifndef _NO_OLDNAMES _CRTIMP int__cdecl getch(void); _CRTIMP int__cdecl kbhit(void); _CRTIMP int__cdecl ungetch(int); #endif /* Not _NO_OLDNAMES */ #ifdef __cplusplus #endif #endif /* Not RC_INVOKED */ #endif /* Not _CONIO_H_ */ |