0

Hey is it right that istream and ostream classes are defined in iostream header file w. r. t c++

is it right that header files contains codes in the form of classes only or not always

17th Aug 2018, 6:13 PM
Teddy
Teddy - avatar
1 Réponse
+ 1
Header files generally don't contain code, only definitions. Also, many headers, like <algorithm>, <cstdlib>, <cstdio> etc. only reference functions, no classes.
17th Aug 2018, 6:29 PM
Vlad Serbu
Vlad Serbu - avatar