DUPLICATE:
When can you omit the file extension in an #include directive?
I feel a little cleverer after finding:
What is the difference between #include <filename> and #include "filename"?
But in my code I use #include <string>
.
string
is not a valid filename and the angle brackets are not put in ""
.
Is this a third way of including other files or how do I have to understand this?
In other words, what is <string>
?
It is. The name of the header file is literally
string
. Search your include paths, e. g.:and you will have some results.