Int crossbr=197 // Another ascii character Int hr=196, vr=179 // These are ascii character which display the lines Int _x,_y //To track the position of the Tic Tac Toe frame being drawn I have also attached libconio.a and conio2.h Please let me know if you find and error or if you have any questions.
CAnd the conio.h file is provided by Borland Turbo C compiler and the GCC compiler doesn’t support it.
And the full form of conio.h is Console input-output.
Turbo C++ IDE then replace conio2.h with conio.h. C conio.h library function: TheYou can download itįrom or if you wish to compile this program in The C standard and not available in Dev-C++ by default. I have used conio2.h that is not a part of
You can also get the entire libconio project's source from this SourceForge project titled: libconio and unpack it.ĭetails on doing this as well as building it and compiling it are covered in this tutorial titled: How to use with GCC.I downloaded your source code and when i try to compile this ,it give me error about conio2h no such file or directory.I have the all files included conio2,h in same folder as i run the main file.I am not found any solution of this,Any help would be appreciate.Įmail : is a simple Tic Tac Toe game. It includes most functions required to write a basic application using conioh (i.e. Simple Linux implementation of Borland's conio (conio.h) library.
You'll have to install it manually but it shouldn't be too difficult to do this. You can instead download libconio.h from the SourceForge project titled: Linux c++ implementation of conio.h. elks-libc is only for 8088 Intel processorsĪs mentioned in the comments, elks-libc is intended for use on system's that are targeting the Intel 8088 CPU. NOTE: You may need to adjust your include path to gcc to pick this header file up. So you can simply install this package to get the header file + libraries that your application requires to compile. COM executables.ĭescription-md5: 2da04d6881989db1f4a11df4a992c06fĪnd here's the file: $ apt-file list elks-libc | grep conio.h Headers and static libraries needed to build 16-bit applications,įor Linux/8086, Linux/i386 and DOS. This is the C library used to compile with bcc. $ apt-cache show elks-libcįilename: pool/main/l/linux86/elks-libc_0.16.17-3.1ubuntu3_all.deb Looking on a Ubuntu system I have there's a similar package called elks-libc that also contains conio.h. : developers to use functions like getch, getche, textcolor and Summary : Implementation of conio.h functionsĭescription : libconio is an implementation of conio.h functions that some
Last Updated: Time to Read: 3-5 minutes C/C++/Objective-C Header files such as conio.h utilize the H file extension.This file is considered a Developer (C/C++/Objective-C Header) file, and was first created by Program Arts for the C-Free 5.0 Pro software package. Loaded plugins: auto-update-debuginfo, changelog, langpacks, refresh-packagekit 3 Steps to Download and Fix Conio.h Errors. I realize you're on Ubuntu but on Fedora the package is called libconio that provides exactly the libraries that you're looking for. Looking for a package that includes conio.h on my Fedora system I turned up this package. However you have the option with Linux to install packages from centrally managed repositories.
cpp file would seem to be coming from a Windows environment originally. NOTE:: Also the use of ncurses.h is not appropriate here either, since that library will likely not include any of the functions that you're looking for ( clrscr(), getch(), etc.) since your. At least not the ones that I'm familiar with Fedora/CentOS/RHEL/Debian/Ubuntu. The conio.h header + library for C/C++ is not something you'll typically find as being installed by default with most Linux distros. Either option is viable and is up to the developer/implementer to decide which is the "correct" path. You can either install a package that includes conio.h + its library as I describe below or you can use ncurses.h + its library and swap out and/or remove function calls that depend on it as Kulkarni describes in his answer. You basically have 2 choices on how to proceed.