4/30/2023 0 Comments Conio library linux![]() ![]() Create a shared library from conio.c (.so extension) and find its usage. Copy conio.h into /usr/include to use with instead of ‘conio.h’. Try it out Create a program especially using gotoxy(x,y) to input a table and print it with different colours. Now, you can use conio.c and conio.h for any program. They can be used to clear screen, change color of text and background, move text, check whether a key is pressed or not and to perform other tasks. ![]() Some of its most commonly used functions are clrscr, getch, getche, kbhit etc. The conio.h header file used in C programming language contains functions for console input/output. Both getch() and clrscr() are non-standard additions by this header, and should be avoided when possible for the standard C functions. Conio.h is an (ancient) Windows and MS-DOS/PC-DOS C library that was, and still is used for very basic, bare-metal keyboard input and handling in a Windows/DOS environment. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |