Creating and building your first C++ project in Visual Studio
In order to compile and run code from Visual Studio, it must be done from within a project.
Getting ready
In this recipe, we will identify how to create an actual executable running program from Visual Studio. We will do so by creating a project in Visual Studio to host, organize, and compile the code.
How to do it...
In Visual Studio, each group of code is contained within something called a
Project. A Project is a buildable conglomerate of code and assets that produce either an executable (.exe
runnable) or a library (.lib
, or .dll
). A group of Projects can be collected together into something called a
Solution. Let's start by constructing a Visual Studio Solution and Project for a ...
Get Unreal Engine 4 Scripting with C++ Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.