Coder Social home page Coder Social logo

dbsee1 / conio.h Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zoelabbb/conio.h

0.0 0.0 0.0 181 KB

This is a library conio.h for linux ๐Ÿ–ฅ๏ธ. you can install manual library conio.h for linux step by step here.

Home Page: https://zoelabbb.github.io/conio.h/

License: MIT License

C++ 97.14% Makefile 2.86%

conio.h's Introduction

Library <conio.h> For Linux

What is #include <conio.h>

If you see at the top of some C/C++ code, 90% of the time you'll see the line #include <conio.h>.

We're including the file <conio.h> into our main program. The <conio.h> header file contains certain library functions that peform input and output operation.

#include <conio.h> is a header file, conio stands for console-input-output and (.h) is basically header file extension.

It contains some functions and methods for formatting the output and getting input in the console.

The error will be shown like below : conio h fatal error

List Function <conio.h>

cprintf
cscanf
gotoxy
clrscr
textcolor
textbackground
wherex
wherey
getch
getche
ungetch
kbhit
putch
putchar
cputs
clreol
insline (not implemented)
delline (not implemented)
cgets   (not implemented)
getpass (not implemented)
gettext (not implemented)
_cprintf
_cscanf
_cputs
_getche
_kbhit
_putch
_ungetch

Some of it's functions which are often used :

  • kbhit - Determines if a keyboard key was pressed.
  • gcgets - Reads a string directly from the console.
  • cscanf - Reads formatted values directly from the console.
  • putch - Writes a character directly to the console.
  • cputs - Writes a string directly to the console.
  • cprintf - Formats values and writes them directly to the console.
  • clrscr - Clears the screen.
  • getch - Get char entry from the console

How To Install Library #include <conio.h>

This is a library conio.h for linux. Just copy file and paste file conio.h on /usr/include/ but don't forget before you want copy paste on /usr/include/ you must open folder as ADMINISTRATOR first !!

Step 1 :

  • Open your terminal can as root
  • sudo apt-get update
  • sudo apt-get upgrade
  • sudo apt-get install git
  • git clone https://github.com/zoelabbb/conio.h.git or Click to Clone Repos
  • cd conio.h

Copy & Paste

Step 2 :

  • sudo make install
  • Restart or Close your IDE and open it again
  • And done :D

Now you can using library #include <conio.h>.

Support Me

Wanna Support me ? You can buy me some coffee via :

conio.h's People

Contributors

zoelabbb avatar mazunki avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.