someprogram.cpp -----------> #include<string>
|
| #include"someheader.h"
V
someheader.h --------------> #include<string>
what happens if I do this? Is it necessary to include the headers into all files that use them, or can you just go
#include<string>
#include...
#include"someheader.h"
#include"anotherheader.h"
and string and other required headers will be included in the ones below it as well?