'Getting a warning when using VS Code and not getting the correct answer

I am getting this warning on my Visual Studio Code when I am running code related to classes. I am using Mac and Clang as my compiler. Hope some one can help me. Thank you.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source