Sep 13, 2018 - Here's how to create a C++ project in Visual Studio, add code, and then build and run the project. The project in this walkthrough is a program.

Programma Walkthrough: Working with Projects and Solutions (C++) • • 5 minutes to read • Contributors • • • • • • In this article Here's how to create a C++ project in Visual Studio, add code, and then build and run the project. The project in this walkthrough is a program that tracks how many players are playing different card games. In Visual Studio, work is organized in projects and solutions. A solution can have more than one project—for example, a DLL and an executable that references that DLL.

Project

For more information, see. Before you start To complete this walkthrough, you need Visual Studio 2017 version 15.3 or later. If you need a copy, here's a short guide:.

If you haven't done it yet, follow the next steps after installation through the 'Hello, World' tutorial to make sure Visual C++ is installed correctly and it all works. It helps if you understand the fundamentals of the C++ language, and know what a compiler, linker, and debugger are used for. The tutorial also assumes that you're familiar with Windows and how to use menus, dialogs, Create a project To create a project, first choose a project-type template. For each project type, Visual Studio sets compiler settings and—depending on the type—generates starter code that you can modify later.

To create a project • On the menu bar, choose File > New > Project. • In the left pane of the New Project dialog box, expand Installed and select Visual C++, if it isn't open already. • In the list of installed templates in the center pane, select Windows Console Application.

Latest Articles