DEV Community

Discussion on: Quick Introduction to header files in C++

Collapse
 
sandordargo profile image
Sandor Dargo

Thanks for the useful article.

I have one comment, simply because what I see in many other articles. Include only the bare minimum you need. If you need a banana, don't bring the monkey and the whole jungle with it.

More practically, if you need let's say <ostream> don't include <bits/stdc++.h>.

+1 For Bartlomiej and modules

Collapse
 
guptaaastha profile image
Aastha Gupta

I totally agree when you say Include only the bare minimum you need. Thanks for adding value in your comment!
Also interesting quote haha.