conio.h functionsĬonio.h should include functions that match the following. The actual functions provided in conio.h vary from implementation to implementation, meaning just because it has a conio, doesn’t mean your identical code will still compile. due to the popularity on DOS/Windows, compilers such as cc65 do have a conio-compatible library. Most DOS or Windows C compilers therefore have the header, MacOS, UNIX and Linux do not.Ĭonfusingly. While most people know it as a Borland/Turbo C (or even a Turbo Pascal) thing, apparently it first appeared in Lattice C, and it became a mainstay of DOS programming. Despite it not being standard, cross-platform, or even the best solution, professors and teachers even now refuse to swap it out from their lectures, so people keep getting taught and coursework marked based on it. Animated GIF of our final code running on Amstrad CPC and C64 Introducing conio.hĬonio.h (Console Input Output) is a popular C header file that provides text input and output functions, but it is not part of the C standard.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |