Remark on the way to post code snippets:
When you post pieces of code on the forum enclose it with ``` . That makes your post much more readable (I systematically edit your posts that way) . So do:
```
// this is a C++ piece of code.
```
And it will display as:
// this is a C++ piece of code.