Hello, World! Execution Error

Hi there, I’m working on the Hello, World! project as part of the Triple X Write Pure C++ Code course. I wrote the code as shown, compiled, but when I execute, it opens Visual Studio 2019! Very confusing. Please help.

I tried saving to a different folder. I get this message when trying to compile:

Because you typed triplex.cpp. This will just open the file in the default application which is Visual Studio. To launch the program it would need to be triplex.exe, the .exe can be omitted.

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms