Getting Started with C++ in Visual Studio
summary
Shows step-by-step setup: download Visual Studio 2022 (Community/Pro/Enterprise), pick C++ workloads, create a CMake project, change the project from C++20 to C++23 and use std::print with IntelliSense, set breakpoints and inspect locals in the debugger. Explains using vcpkg.json plus a builtin baseline commit ID, pointing CMake at the CMake toolchain file in the VCPKG root, runs vcpkg to install SDL3 (one of ~2,500 packages) and links SDL3 into the CMake app, then runs a simple SDL3 hello world.
AI-written summary · about
chapters (11)
- 0:00Introduction
- 0:17Installing Visual Studio
- 0:43Setting up C++ workloads
- 1:19Creating a new project
- 2:10Exploring CMake projects
- 3:00Building and running
- 3:40Debugging C++ code
- 4:41Introduction to vcpkg
- 5:50Adding dependencies
- 6:58Integrating libraries
- 9:25Conclusion
related talks
36mC++ Development with Visual Studio Code
01h 04mLatest & Greatest in Visual Studio 2019 for C++ developers
11mC++ with Visual Studio 2019: target Linux and Windows, and be more productive with IntelliCode
24mC++ Cross-Platform Development with Visual Studio and WSL
30mWhat's New in Visual Studio Code - Remote Dev, IntelliSense, Build/Debug...
54mCMake for the Impatient
42mManage code dependencies at work with new vcpkg features
09mAn Overview of vcpkg in 10 Minutes
