Code makes me use VS Community

For some reason whenever I run the code I am sent to VS community how do I fix this(windows)

I assume you are typing

triplex.cpp

Or similar - the key part is typing .cpp - That means to launch triplex.cpp in the default program which is Visual Studio.

cl triplex.cpp

Compiles the file triplex.cpp and outputs an executable with the same name e.g. triplex.exe. To the run the program you type its name

triplex.exe

However typing .exe is optional in cmd.

1 Like

Thank you very much

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

Privacy & Terms