What Is The Meaning of Conio.h in C++?: 10 Answers
What Is The Meaning of Conio.h in C++?: 10 Answers
What Is The Meaning of Conio.h in C++?: 10 Answers
Whatisthemeaningofconio.hinC++?Quora
SignIn
Searchforquestions,people,andtopics
C(programminglanguage)
C++(programminglanguage)
ProgrammingLanguages
ComputerProgramming
Whatisthemeaningofconio.hinC++?
RelatedQuestions
Howistheapplicationofstdiodifferentfromconioin
Cprogramming?
HowcanIseetheoutputwithoutimportingconio.h?
10Answers
JamesMcInnes,wellroundedindividiual
5.9kViewsJameshas450+answersinComputerProgramming
TheClanguagedoesn'thaveaheader"conio.h".
Thereareanumberoflibrariesovertheyearsthathaveincludedaheaderwiththatname.
ThemostwidelyknownisprobablytheMSDOSconsolelibrary.Thatlibraryincluded
routinesforcontrollingtheconsoledisplay(movingthecursor,clearingthescreen,etc.).
WrittenSep4,2015ViewUpvotes
Underwhatconditionsshouldoneusethe<conio.h>
headerfile?
Anyalternativetoconio.hinCprogramming?
Whyis<conio.h>notrecognizedasaheaderfileofC
whencompiledwithGCC?
Whatis#include<conio.h>?
HowdoIclearoutputscreenincodeblockswithout
usingclrscr()andconio.hinClanguage?
HowdoIuseconio.hinXcode?
RelatedQuestions
MoreAnswersBelow
HowistheapplicationofstdiodifferentfromconioinCprogramming?
HowcanIseetheoutputwithoutimportingconio.h?
Whyis<conio.h>,<curses.h>&<ncurses.h>not
recognizedasaheaderfileofC/C++whencompiled
withGCC?
C++(programminglanguage):Whydopeoplestilluse
iostream.h?
Underwhatconditionsshouldoneusethe<conio.h>headerfile?
Anyalternativetoconio.hinCprogramming?
Whyis<conio.h>notrecognizedasaheaderfileofCwhencompiledwithGCC?
StefanLindstrm
2.5kViewsStefanhas150+answersinComputerProgramming
That'sa(nonstandard)headerthatwasusedbysomeoldMDDOSCcompilersto
facilitateconsoleinput/output.Obsoletetoday,unlessyouspecificallydevelopwithMS
DOSasatargetsystem.Ifyou'renot,youmightbebetteroffupdatingyourcompiler
suite/learningresourcestosomethingnewer(andperhaps,morestandardcompliant).
WrittenMar17ViewUpvotesAnswerrequestedbySagarGhimire
DhananjayNagargoje,B.techITstudent
523Views
PriortoSTL98standardization,mostoftheSTLheaderfileshad(.h)fileextensions.It
wasdecidedtoremoveto.hextensionatsomepointintime.I'mnotsurewhythiswas
decided,butpossiblytoprovideuniquenessFormoreinfo,see .
conio.hisaBorland/MSspecificheaderthatcontainedconsoleI/Ofunctionality,andis
notpartofthestandard.
Includingstandardfileswith.hextensionis(still)allowedbysomecompilers,butis
considereddeprecated.Thenonextensionversionoftenforwardincludetoextensions,
andprovideanextralayerthatallowsthe"user"tobeindependentoftheactualfolder
organization.Thismightbeanadditionalreason.
WrittenJul19
RaviReddy,Professor,programmingsince1983,teachingitsince1996
6.8kViewsRavihas330+answersinComputerProgramming
IagreewithVivekChoudhary
Ifyouareaskingthisquestion,Ifeelyouarelearningfromthewrongsources.
AsapersonwhohasbeenteachingCforcloseto20yearsandhaswrittenatextbookalso,
ItoofeelthatyoushouldNOTwasteyourvaluabletimelearningDOSbasedC
programming.InsteadyoushouldfocusonlearningtheANSIstandardCwhichwillwork
onanycomputingdeviceoftheworld.
IalsoknowthatmanyofthepopularIndiantextbooksusethisalotbutpleasedonotuse
them.InsteadgetanyofthegoodtextbooksthatteachANSIstandardC.
Bestofluck!
WrittenAug4,2015ViewUpvotes
DragosSerban,ComputerVisionenthusiast
3.7kViews
https://www.quora.com/WhatisthemeaningofconiohinC++
1/3
8/6/2016
Whatisthemeaningofconio.hinC++?Quora
conio.hisaheaderfilemostlyusedbyMSDOScompilerstoprovideconsoleinputand
Searchforquestions,people,andtopics
output.Someofitsinbuiltfunctionsare:
SignIn
1.clrscr()Itisusedtoclearthescreen
2.cgets()Readsastringfromthekeyboard
3.getch()Readsacharacterfromkeyboard
4.getche()Readsacharacterfromkeyboardandechoesittothescreen
5.kbhit()Determinesifakeyboardkeywaspressed
6.putch()Writesacharactertothescreen
7.cputs()Writesastringtothescreen
WrittenSep4,2015ViewUpvotes
RelatedQuestions
Whatis#include<conio.h>?
HowdoIclearoutputscreenincodeblockswithoutusingclrscr()andconio.hinC
language?
HowdoIuseconio.hinXcode?
Whyis<conio.h>,<curses.h>&<ncurses.h>notrecognizedasaheaderfileofC/C++
whencompiledwithGCC?
C++(programminglanguage):Whydopeoplestilluseiostream.h?
WithwhichfunctioncanIreplacekbhit()inC++becausetheheaderconio.hdoesn'texistin
linux?
Code:#include<iostream>#include<conio.h>usingnamespacestdintmain(){intaint
&b=ab=10cout<<a<<endlint*c=&a*c=20cout<<a}...
Whenweopenanew.Cfilethattime,thestatement#include<stdio.h>#include<conio.h>int
main(){getch()return0}shouldbedisplayedin...
WhenIrunmyCcodewithGCC/GCC+onUbuntu13.10itgivesanerrormessage:"fatal
error:conio.h:Nosuchfileordirectorycompilationter...
HowdoIfixmissingconio.hfileonmyMac/xcode?
WhichHeaderfileisreplacementforconio.hinLinuxGCC?
Whatdoesanexpressioninvolvingmultiplepost/predecrement/incrementoperators
evaluatetoinCandC++?
Whyisn't.husedinC++anymore?Doesthismeantheyarenotaheaderfileandarenow
somespecialkindoflibrarywithoutanyextension?
Whatdoes%dmeanintheCprogramminglanguage?
Whatdoes'<|'mean?InC++?
TopStories
WhyisHillaryClintondoingworse
inthePresidentialelectionpolls
thanshewasafewmonthsago?
Hasshemademistakes?
DexterJameswood,graduatestudent
studyingAmericanhistory
44.5kViewsDexterhas600+answers
and4endorsementsinPoliticsofthe
UnitedStatesofAmerica
Atthebeginningoftherace,Sanderss
namerecognitionamongAmericanswasnil.
Sincethen,votershavegainedexposureto
himandhisideas.LastnightonRealTime
withBillMaher,CornellWestexpresseda
similaropinion,sayinginitiallyBernie
ReadMore
Sandershadonly3%supportfromAfrican
AmericanvotersinSouthCarolina,buthas
Whatisthenicest,most
unexpectedthingthat'sever
happenedtoyou?
AmandaMikhael,I'velivedalittle
29.3kViews
Iusedtovolunteeratahomelessshelterin
thecity.IworkedtheremostFridaynights
andvolunteerswouldcookamealtoshare
withthehomelessgueststhenjustspend
timesittingandchattingandgettingto
knowpeopleovernight.Itwasapretty
inspiring/eyeopening/sometimes
heartbreakingwaytospendanight.One
Fridaynight,Iwastalkingtooneofthe
othervolunteerswhowasplannin...
https://www.quora.com/WhatisthemeaningofconiohinC++
ReadMore
Whatdidyoudotocopewith
shameandhumiliationatthe
workplace?
RickBruno,Retiredcop,marathoner,
husband/father/grandfather,time
traveller
5.9kViewsRickhas840+answersin
SurveyQuestion
Ifacedtheangeranddispleasureofmyco
workersonoccasion.Oneofthoseoccasions
happenedwhileIwasapatrolshiftsergeant.
Ireleasedawomanfromcustodywhowas
wronglyarrestedforbatterytoapolice
officer.BeforeIdidsoIexplainedmy
intentionstothearrestingofficer,andwhyI
ReadMore
felthisactionswerethoughnotillegal
clearlywrong.Hedisagreed,andItoldhim
2/3
8/6/2016
Whatisthemeaningofconio.hinC++?Quora
Sitemap # A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
AboutCareersPrivacyTermsContact
https://www.quora.com/WhatisthemeaningofconiohinC++
3/3