Starting and using Visual Studio Community and Code for C++

We use Microsoft Visual Studio for developing C++ Code. Those with Microsoft Windows, students use Visual Studio Community. For iOS and Linux systems, Visual Studio Code is used. They are started in different ways. This file has videos describing both methods

Microsoft Visual Studio Community

The following video shows how to start a Visual Studio Community session. It sets up an empty project, after which you need to create a C++ (cpp) file. The following video shows how to do this. At the end, an .exe file is left in  the Debug directory. I have left this in the video to show one problem that can happen. The way to solve this problem is to either delete the remaining .exe file or by removing it.

Microsoft Visual Studio Code for C++

For those with Apple iOS or Linux systems, Microsoft Visual Studio Code must be used. IT is easy to edit code in VS Code for C++, but compiling and running code takes some special setup. In addition to the source code for the project, a .vscode directory with two files is required. The files are task.json for compilation rules and launch.json for execution rules for debugging. An introduction follows:

Conclusion

These examples show how to start a project. More information will be added as is needed.

I would enjoy hearing from you.

This site uses Akismet to reduce spam. Learn how your comment data is processed.