Don’t know how to compile with visual c++?

So i write the “Hello World” thing and i press compile under the build menu/tab thing and i don’t know what to do from there, What button do i press to make it a program? is it already a program? if so which one? theres like alot in the project 1 folder, and why is there all of those files?

After you build and there are no errors the exe file is created. Look in the project file folder for a “Debug” or “Released” folder. In there will be your .exe file. Depending on the visual c++ version ctrl + F5 runs the program.

No! do not delete the other files!! You can do a clean if need be (in the build menu).

In Visual Studio, using F7 builds on my PC
it opens a status window, and lists my errors at the bottom of the main window

the extra stuff in the folder came from the include statements

When in Visual C++, press F5 on your keyboard.

The rest of the files in the project are MSVC’s internal tools.

Leave a Reply