473,385 Members | 1,356 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

purpose of conio.h in C

Can anyone tell me when to add conio.h header file. Is it when you are using getche() function or it has some other functionality as well.
Nov 19 '07 #1
3 2690
sicarie
4,677 Expert Mod 4TB
jimhakans-

Is this something that Google cannot tell you? Did you research this yourself before you posted?
Nov 19 '07 #2
jimhakans-

Is this something that Google cannot tell you? Did you research this yourself before you posted?
Yes, i have searched that but i am not satisfied. By the way can see many people in this forum who are asking question which google can easily answer.
I have read that conio is used to perform "console input and output" from a program, which is what i dont understand. stdio.h is used for the same thing right?
Nov 20 '07 #3
oler1s
671 Expert 512MB
I have read that conio is used to perform "console input and output" from a program, which is what i dont understand. stdio.h is used for the same thing right?
Sort of. stdio declares functions useful for output. Some of them are tied to stdin/stdout which usually links to the console. conio is outright console functions. Specifically, conio is additional functions that might be useful in making text user interfaces. It's not really a method of i/o as much as controlling a few additional things for the console that C cannot provide.

stdio.h is standard. conio.h is not. It may not exist. If it does, it's compiler specific. As there is no standard for conio.h, your conio.h may not be, and probably isn't, the same as someone else's here. If they have it that is.
Nov 20 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: Eduardo Elias Camponez | last post by:
Is conio.h C library or just C++? Tks Eduardo Camponez
17
by: Mitas Nikos | last post by:
I am trying to use the library conio2 and though I have managed with a few relatively simple examples when i try to compile a program which conio's function clrscr is not in main() i get an error...
6
by: Maverick | last post by:
There's a function in Borland C conio.h window (int left, int top, int right, int bottom) how can i provide the same function in VB.Net
17
by: annai | last post by:
hi i want 2 know wat s the special for using conio.h
3
by: Rajiv Gupta | last post by:
which header file can be used in C instad of conio.h as it is not there in C.
2
by: windandwaves | last post by:
Hi Folk What do you think about http://prototype.conio.net/? Is it a must have or do you have other feedback? Thanks a million
2
by: amitppawar2007 | last post by:
#include <stdio.h> #include <conio.h> int main(void) { unsigned port = 0; int value; value = outp(port, 'C'); printf("Value %c sent to port number %d\n", value, port); return 0; }
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.