Include header files which are already included in other header files - Is it necessary?
Hai guys, I have a question here. So I have main.cpp, Linked_list.h and design.h. I already have <iostream> header included into design.h, and my Linked_list.h file includes design.h. If I now include Linked_list.h into main.cpp, do I need to include <iostream> for main.cpp as well? As far as I am concerned, my program is working fine without including <iostream> into main.cpp. TIA