0
What is the difference between standard library and header file??
Im just a begginer.
3 Réponses
+ 1
The standard library is a collection of header files. All these header files use the namespace std.
Did that answer your question?
0
Thanks bro I understand 🙏🙏🙏. So if I use any header file i'll have to use std? Like conio.h? Oh sorry forgot about the,... Dot. H thing
0
Headers with such < > brackets use std, headers with such " " literals have no namespace since they are old and most often deprecated c headers. "conio.h" is a c header whereas <iostream> is a c++ header which has everything declared in the std namespace.