What is the difference between using #include
The old standard used the #include syntax. When namespaces and templates were added to the language, the standard was changed to #include .
This was done so that the standard library stuff could all be placed in the std namespace. Older code, which had no concept of namespaces would still work since the #include files don't use namespaces.
New code should always use the #include format. If you use the older format, all the symbols they define will be placed in the global namespace rather than std.