Skip to content

Commit 2271a83

Browse files
committed
update conformance - c11 threads and update instructions in c++ tutorial to indicate what's wrong if you don't see the built exe
1 parent d09ce03 commit 2271a83

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

docs/build/vscpp-step-2-build.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Build and run a C++ console app project
33
description: "Build and run a Hello World console app in Visual C++"
44
ms.custom: "mvc"
5-
ms.date: 07/05/2023
5+
ms.date: 06/28/2024
66
ms.topic: "tutorial"
77
ms.devlang: "cpp"
88
---
@@ -24,11 +24,11 @@ If Visual Studio looks like this, you're ready to build and run your app:
2424

2525
## Build and run your code in Visual Studio
2626

27-
1. To build your project, choose **Build Solution** from the **Build** menu. The **Output** window shows the results of the build process.
27+
1. To build your project, **Build** > **Build Solution**. The **Output** window shows the results of the build process.
2828

2929
:::image type="complex" source="media/vscpp-build-solution.gif" alt-text="Animated screenshot showing the sequence of actions taken to build a project in Visual Studio.":::
3030
First, Build is selected from the main menu. Then Build Solution is selected. The Output window shows the build output messages, including that the build is successful.
31-
:::image-end:::
31+
:::image-end:::
3232

3333
1. To run the code, on the menu bar, choose **Debug**, **Start without debugging**.
3434

@@ -50,12 +50,12 @@ Normally, you run console apps at the command prompt, not in Visual Studio. Once
5050

5151
::: moniker range="<msvc-170"
5252

53-
2. In the **File Explorer** window, open the `Debug` folder. This folder contains your app, `HelloWorld.exe`, and debugging files. Hold down the **Shift** key and right-click on `HelloWorld.exe` to open the context menu. Choose **Copy as path** to copy the path to your app to the clipboard.
53+
2. In the **File Explorer** window, open the `Debug` folder. This folder contains your app, `HelloWorld.exe`, and debugging files. Hold down the **Shift** key and right-click on `HelloWorld.exe` to open the context menu. Choose **Copy as path** to copy the path to your app to the clipboard. If you see `HelloWorld.exe.recipe`, it's because you did the **Open Folder in File Explorer** step on the HelloWorld *project* instead of the HelloWorld *solution*. Navigate up a level in File Explorer to get to the solution folder. This folder also contains a `Debug` folder, where `HelloWorld.exe` is.
5454

5555
::: moniker-end
5656
::: moniker range=">=msvc-170"
5757

58-
2. In the **File Explorer** window, open the `x64` folder and then the `Debug` folder. This folder contains your app, `HelloWorld.exe`, and debugging files. Hold down the **Shift** key and right-click on `HelloWorld.exe` to open the context menu. Choose **Copy as path** to copy the path to your app to the clipboard.
58+
2. In the **File Explorer** window, open the `x64` folder and then the `Debug` folder. This folder contains your app, `HelloWorld.exe`, and debugging files. Hold down the **Shift** key and right-click on `HelloWorld.exe` to open the context menu. Choose **Copy as path** to copy the path to your app to the clipboard. If you see `HelloWorld.exe.recipe`, it's because you did the **Open Folder in File Explorer** step on the HelloWorld *project* instead of the HelloWorld *solution*. Navigate up a level in File Explorer to get to the solution folder. This folder also contains a `x64\Debug\` folder, where `HelloWorld.exe` is.
5959

6060
::: moniker-end
6161

docs/overview/visual-cpp-language-conformance.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -530,8 +530,8 @@ A group of papers listed together indicates a Standard feature along with one or
530530
| &emsp;Alignment specifiers `<stdalign.h>` | VS 2019 16.8 <sup>[C11](#note_C11), [2104](#note_2104)</sup> |
531531
| &emsp;`aligned_alloc` | No <sup>[M](#note_M)</sup> |
532532
| &emsp;No return specifiers `<stdnoreturn.h>` | VS 2019 16.8 <sup>[C11](#note_C11), [2104](#note_2104)</sup> |
533-
| &emsp;Threading support `<threads.h>` | No |
534-
| &emsp;Atomic support `<stdatomic.h>` | No |
533+
| &emsp;Threading support `<threads.h>` | yes |
534+
| &emsp;Atomic support `<stdatomic.h>` | yes - experimental |
535535
| &emsp;`char16_t`, `char32_t` `<uchar.h>` | VS 2019 16.8 <sup>[C11](#note_C11)</sup> |
536536
| &emsp;`gets()` removed | VS 2019 16.8 <sup>[C11](#note_C11), [N](#note_N)</sup> |
537537
| &emsp;`gets_s()` | VS 2019 16.8 <sup>[C11](#note_C11)</sup> |
@@ -541,6 +541,7 @@ A group of papers listed together indicates a Standard feature along with one or
541541
| &emsp;`quick_exit` | VS 2019 16.8 <sup>[C11](#note_C11)</sup> |
542542
| &emsp;`<complex.h>` macros | VS 2019 16.8 <sup>[C11](#note_C11)</sup> |
543543
| &emsp;floating point characteristics `<float.h>` | VS 2019 16.8 <sup>[C11](#note_C11)</sup> |
544+
| &emsp;C11 threads `<threads.h>` | VS 2022 17.8 <sup>[C11](#note_C11)</sup> |
544545

545546
### Supported values
546547

0 commit comments

Comments
 (0)