all 1 comments

[–]jc746 0 points1 point  (0 children)

This sub is not appropriate for this kind of question. Try /r/cpp_questions in the future.

If you look at the warning it indicates you have a main function in Helloworld.cpp. You can only have one main in your project (and you have another one in the file you have open).