Questions tagged [conio]

A non-standard C library that enables users to move the cursor on Terminals and place characters at certain locations.

The conio library is a C library mostly provided by MS-DOS compilers to provide console input/output beyond what is provided by the C standard library.

Conio does not form part of the C standard library or ISO C, nor is it defined by POSIX. This means that the functions in the conio library vary somewhat between compilers.

111 questions
-2
votes
0 answers

_setcursortype() not recognized in VSC dospite I include

I'm writing a simple project in C++17 and I need to use the cursor in the command prompt, i wanted to edit the type of the cursor but the _setcursortype() isn't recognized, other function like getch() are recognized. #include "tris.h" #include…
-2
votes
1 answer

Defining getch() function in c/c++

Why when I use getch() function in c++, I should include "conio.h" header file ... while in c it runs without include this file? I'm using codeBlocks as my IDE. I expect that I must include "conio.h" in c program also, and I tried to include…
-2
votes
1 answer

Why doesen't it clear screen in if method (C language only)

I was trying to make a shell interpreter similar to DOS in C language (for fun obviously) And when i type clear, as shown in the code below it should make it so it clears the screen. But it doesn't. #include #include
nik123
  • 113
  • 1
  • 2
  • 11
-3
votes
1 answer

How can I use cursor positioning in C++

I am too confused with console screen. I am not able to figure out how to move cursor to random position. This is my code: #include #include main() { cout<<"Hello World"; return 0; } I want to move cursor to random…
-3
votes
2 answers

Downloading conio.h and using a GUI on Virtualbox

This is for programming in C: I want to download conio.h in Virtualbox on my mac computer, however, after I downloaded it which was from here: https://sourceforge.net/projects/myconio/, I began receiving errors such that it couldn't find specific…
user1049876
  • 117
  • 1
  • 3
  • 18
-6
votes
1 answer

Trouble using conio.h library

Am having trouble using the Conio library in my code blocks IDE while doing c++ code. Am using Windows 8.1. To be specific i need to use conio library functions for my c and c++ programs but the header file is not available.am looking for a link or…
Samuel Owino
  • 747
  • 1
  • 12
  • 24
1 2 3 4 5 6 7
8