You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit cf6ee5c
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: docs/build/vscpp-step-1-create.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,7 @@ Visual Studio uses *projects* to organize the code for an app, and *solutions* t
22
22
1. In Visual Studio, open the **File** menu and choose **New > Project** to open the **Create a new Project** dialog. Select the **Console App** template that has **C++**, **Windows**, and **Console** tags, and then choose **Next**.
23
23
24
24
:::image type="complex" source="media/vs2019-choose-console-app.png" alt-text="Screenshot of the create a new project dialog.":::
25
-
The create a new project dialog with Console App selected, which says: Run code in a windows terminal. Prints hello world by default. Has the tags c++, Windows, and Console.
25
+
The create a new project dialog with the Console App template selected. That template says: Run code in a windows terminal. Prints hello world by default. Has the tags c++, Windows, and Console.
26
26
:::image-end:::
27
27
28
28
1. In the **Configure your new project** dialog, enter *HelloWorld* in the **Project name** edit box. Choose **Create** to create the project.
@@ -34,7 +34,7 @@ Visual Studio uses *projects* to organize the code for an app, and *solutions* t
34
34
Visual Studio creates a new project. It's ready for you to add and edit your source code. By default, the Console App template provides source code for a "Hello World" app, like this:
35
35
36
36
:::image type="complex" source="media/vs2019-hello-world-code.png" alt-text="Screenshot of the NEW Hello World project.":::
37
-
Shows the new project. The HelloWorld.cpp file is open, showing the default code that is included with this template. It consists of #include iostream and a main() function that contains the line: std::cout << quote hello world!\n quote;
37
+
Shows the new project. The HelloWorld.cpp file is open, showing the default code that is included with this template. That code consists of #include iostream and a main() function that contains the line: std::cout << quote hello world!\n quote;
38
38
:::image-end:::
39
39
40
40
When the code looks like this in the editor, you're ready to go on to the next step and build your app.
@@ -99,7 +99,7 @@ Visual studio creates a new, empty source code file and opens it in an editor wi
99
99
100
100
The code should look like this in the editor window:
101
101
102
-
 function that contains the lines: std::cout << \"hello world!\n\"; followed by return 0;")
102
+
 function that contains the line: std::cout << \"hello world!\n\"; followed by return 0;")
103
103
104
104
When the code looks like this in the editor, you're ready to go on to the next step and build your app.
0 commit comments