0

Why we type using name space std , not conio.h

what about conio.h,we r typing using name space STD, what it means

27th Nov 2018, 10:16 AM
mayank
2 Respuestas
0
using namespace std That means we're using every function under a namespace calles std. There are a specific topic about namespace you should learn about this. std itself is a modern c++ standard where every aspect of the language are standarized across compiler and architecture,so there wont be any conflict or missing feature when try to port the code directly. Why not conio.h ? Conio itself is not a standard, its only(cmiiw) available in windows. That means anyone else with who are not using windows unable to compile the code.thats why iostream with namespace std are more prefferable
27th Nov 2018, 11:29 AM
Taste
Taste - avatar
0
Thanks
27th Nov 2018, 11:36 AM
mayank