Muokkaa

Jaa


Using the Visual Studio IDE for C++ Desktop Development

The Visual Studio Integrated Development Environment (IDE) offers a set of features that help you manage large and small code projects, write and refactor your code, and detect and correct errors by using both static analysis and powerful debugging tools. This set of articles is designed to walk you through each step you'll need to manage your projects, write, test, and debug your code, and then deploy it to another computer.

Prerequisites

If you haven't installed Visual Studio yet, now is the time. For download links and a quick walkthrough, see Install C++ support in Visual Studio. For more information about how to install Visual Studio in general, and troubleshooting tips if something goes wrong, see Install Visual Studio. Be sure to choose the Desktop development with C++ workload to include the C++ compilers, tools, and libraries when you install Visual Studio, because they're not installed by default.

These walkthroughs assume that you've installed Visual Studio and the C++ components required for Windows Desktop development. We also assume you understand the fundamentals of the C++ language. If you need to learn C++, there are many books and web resources available. One good place to start is the Get Started page of the Standard C++ Foundation website.

In general, we highly recommend that you use the latest version of Visual Studio even if you need to compile your code using an earlier version of the compiler toolset. For more information, see Use native multi-targeting in Visual Studio to build old projects.

Once your Visual Studio installation is complete, you are ready to continue.

Get started

To get started using the Visual Studio IDE to build C++ apps, work through each of these topics in order. Each one builds on the work you completed in the previous topics:

Next steps

Once you've completed these walkthroughs, you're ready to start building your own projects. For more information and resources for C++ development, see Visual C++ in Visual Studio.

See also

Get started developing with Visual Studio