+ 4

Difference between #include<conio.h> and using namespace std...

please explain according to class 11 pls pls

12th May 2017, 1:54 AM
Gourav Singh
Gourav Singh - avatar
4 Respostas
+ 23
These two can't be differentiated on same point as their purposes​ are different. conio.h is header file generally used in C so as for "Console input output".. like you are able to give input from your console and delay the output on the screen. While namespace std(standard library) is used in C++ so that you don't have to write std::cout (you write cout) std::cin (you write cin) etc etc. in easiest possible way. For advanced explanation you can always refer google... ☺️
12th May 2017, 2:46 AM
Frost
Frost - avatar
+ 4
Comparing these is like comparing a carrot to a watermelon.
12th May 2017, 2:16 AM
Dawzy
Dawzy - avatar
+ 3
Basically conio is a library and Using namespace std means you are using functions from ocean of names.
12th May 2017, 5:01 PM
Himansh Mulchandani
Himansh Mulchandani - avatar