0

Why not conio. h??

we have been taught to write #include<conio.h> after iostream. Then why do we use namespace std???

23rd Jun 2017, 10:47 AM
Smita Das
Smita Das - avatar
2 Respuestas
+ 8
<conio.h>, <iostream.h> all belongs to pre-standard C++, which is now obsolete. https://www.sololearn.com/Discuss/288609/?ref=app
23rd Jun 2017, 11:19 AM
Hatsy Rei
Hatsy Rei - avatar
+ 2
conio.h is a C header file used mostly by MS-DOS compilers to provide console input/output. It is not part of the C standard library or ISO C, nor is it defined by POSIX. The std namespace includes features of the C++ Standard Library. and also it enhance the program visual activites by ignoring white spaces ..it is a predefined one in C++ to enhance the performance
23rd Jun 2017, 11:18 AM
gobiga rani
gobiga rani - avatar