+ 4
Difference between #include<conio.h> and using namespace std...
please explain according to class 11 pls pls
4 Antworten
+ 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... ☺️
+ 4
Comparing these is like comparing a carrot to a watermelon.
+ 3
Basically conio is a library and Using namespace std means you are using functions from ocean of names.