It seems that when using the code blocks for C++, if you use the #include directive with angled brackets <> then it will see them as XML/HTML and try to close the tags. I would assume that the same would happen for other similar cases.
My post in
this thread shows this issue. The first code sample included a few headers, and right at the end you can see that it put a close tag for each of those. Is this issue known?
This is a signature
Any samples given are not meant to have error checking or show best practices. They are meant to just illustrate a point. I may also give inefficient code or introduce some problems to discourage copy/paste coding. This is because the major point of my posts
is to aid in the learning process.