Skip to content

Fix git push error for protected CLA branch #915

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 39 commits into from
Apr 3, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
76816a9
Initial update for 2019
Apr 2, 2019
9fe1f27
added missing redirects for old wrl topics
Apr 2, 2019
462ac32
more redirects for overview folder
Apr 2, 2019
49a2405
added redirects for overview topics and fixed links in idex
Apr 2, 2019
8237cae
fixed build errors
Apr 2, 2019
2ddf297
fixed breadcrumb
Apr 2, 2019
8d3b8fe
fixed rediret warnings
Apr 2, 2019
39a2509
Update C++ install instructions for 2019
Apr 2, 2019
023d080
Fix date in title
Apr 2, 2019
4515049
Link fixes
Apr 2, 2019
0569c44
Acrolinx pass
Apr 2, 2019
d1b34e4
Fix date issue
Apr 2, 2019
b5f21b9
Stash changes, not ready yet
Apr 2, 2019
a00633f
Merge pull request #1897 from mikeblome/mb-wrl-redirects
rmca14 Apr 2, 2019
8bba4c3
Merge pull request #1898 from corob-msft/cr-install-2019
rjagiewich Apr 2, 2019
d13ac95
Merge to live for VS2019 product release, part 2 (#1900)
Apr 2, 2019
f7e7200
fixed link in index.md
Apr 2, 2019
8adc8f4
fixed link and merged with master
Apr 2, 2019
9fffd9d
fixed link again
Apr 2, 2019
d96483e
fixed another link
Apr 2, 2019
a560bf0
Merge pull request #1899 from MicrosoftDocs/FromPublicMasterBranch
Apr 2, 2019
b5ad02e
Merge pull request #1901 from mikeblome/mb-index-1
Ja-Dunn Apr 2, 2019
9fc5e0d
Merge branch 'live' into master
Apr 2, 2019
5fc76f5
Merge pull request #1902 from MicrosoftDocs/master
Apr 2, 2019
54e2325
Update VS2019 top level topics
Apr 2, 2019
0a7e030
Merge branch 'master' into cr-2019-step-1
Apr 2, 2019
af41ecd
Fix a bunch of link issues
Apr 3, 2019
a901519
Links fixed in more places
Apr 3, 2019
1d1f1ab
More busted links in 2017 content
Apr 3, 2019
aa61270
Fixes links in more places. Scrubs 2017.
Apr 3, 2019
ca211b8
Fix remaining link issues
Apr 3, 2019
5be377a
Repair damaged file, remove more 2017 references
Apr 3, 2019
04859ea
Fix a merge error
Apr 3, 2019
b9dc6e2
Remove stray file extensions
Apr 3, 2019
d75c398
Helps to spell it out...
Apr 3, 2019
505dbbc
Acrolinx fix
ktoliver Apr 3, 2019
cc3a3ff
Acrolinx fixes
ktoliver Apr 3, 2019
9262454
Merge pull request #1904 from corob-msft/cr-2019-step-1
ktoliver Apr 3, 2019
b72a10a
Merge pull request #1905 from MicrosoftDocs/master
Taojunshen Apr 3, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
663 changes: 651 additions & 12 deletions .openpublishing.redirection.json

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/TOC.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# [C++ in Visual Studio 2017](overview/visual-cpp-in-visual-studio.md)
# [C++ in Visual Studio](overview/visual-cpp-in-visual-studio.md)
## [Overview of C++ development in Visual Studio](overview/overview-of-cpp-development.md)
## [What's new for C++ in Visual Studio 2017](overview/what-s-new-for-visual-cpp-in-visual-studio.md)
## [C++ conformance improvements in Visual Studio 2017](overview/cpp-conformance-improvements-2017.md)
## [What's new for C++ in Visual Studio](overview/what-s-new-for-visual-cpp-in-visual-studio.md)
## [C++ conformance improvements in Visual Studio](overview/cpp-conformance-improvements.md)
## [Microsoft C++ language conformance](overview/visual-cpp-language-conformance.md)
## [Supported platforms](overview/supported-platforms-visual-cpp.md)
## [Visual C++ Tools and Features in Visual Studio Editions](overview/visual-cpp-tools-and-features-in-visual-studio-editions.md)
Expand Down
2 changes: 1 addition & 1 deletion docs/_breadcrumb/toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
items:
- name: Documentation
tocHref: /cpp/
topicHref: /cpp/visual-cpp-in-visual-studio
topicHref: /cpp/overview/visual-cpp-in-visual-studio
items:
- name: C++ Language
tocHref: /cpp/cpp/
Expand Down
Binary file added docs/build/media/vs2019-choose-console-app.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/build/media/vs2019-hello-world-code.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docs/build/reference/zc-twophase.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ typename T::template X<T>::TYPE func(typename T::TYPE)

Under **/Zc:twoPhase-** and in older compilers, the compiler only requires the `template` keyword on line 2. By default, and in conformance mode, the compiler now also requires the `template` keyword on line 4 to indicate that `T::X<T>` is a template. Look for code that is missing this keyword, and supply it to make your code conform to the standard.

For more information about conformance issues, see [C++ conformance improvements in Visual Studio](../../overview/cpp-conformance-improvements-2017.md) and [Nonstandard Behavior](../../cpp/nonstandard-behavior.md).
For more information about conformance issues, see [C++ conformance improvements in Visual Studio](../../overview/cpp-conformance-improvements.md) and [Nonstandard Behavior](../../cpp/nonstandard-behavior.md).

### To set this compiler option in the Visual Studio development environment

Expand Down
150 changes: 135 additions & 15 deletions docs/build/vscpp-step-0-installation.md

Large diffs are not rendered by default.

30 changes: 28 additions & 2 deletions docs/build/vscpp-step-1-create.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: Create a C++ console app project
description: "Create a Hello World console app in Visual C++"
ms.custom: "mvc"
ms.date: 12/12/2017
ms.date: 04/02/2019
ms.topic: "tutorial"
ms.devlang: "cpp"
ms.assetid: 45138d70-719d-42dc-90d7-1d0ca31a2f54
Expand All @@ -13,12 +13,32 @@ The usual starting point for a C++ programmer is a "Hello, world!" application t

## Prerequisites

- Have Visual Studio with the Desktop development with C++ workload installed and running on your computer. If it's not installed yet, see [Install C++ support in Visual Studio 2017](vscpp-step-0-installation.md).
- Have Visual Studio with the Desktop development with C++ workload installed and running on your computer. If it's not installed yet, see [Install C++ support in Visual Studio](vscpp-step-0-installation.md).

## Create your app project

Visual Studio uses *projects* to organize the code for an app, and *solutions* to organize your projects. A project contains all the options, configurations, and rules used to build your apps, and manages the relationship between all the project's files and any external files. To create your app, first, you'll create a new project and solution.

::: moniker range=">=vs-2019"

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, and then choose **Next**.

![Create a new project](media/vs2019-choose-console-app.png "Open the Create a new project dialog")

1. In the **Configure your new project** dialog, enter *HelloWorld* in the **Project name** edit box. Choose **Create** to create the project.

![Name and create the new project](media/vs2019-configure-new-project-hello-world.png "Name and create the new project")

Visual Studio creates a new project, ready for you to add and edit your source code. By default, the Console App template fills in your source code with a "Hello World" app:

![Hello World project in the IDE](media/vs2019-hello-world-code.png "Hello World project in the IDE")

When the code looks like this in the editor, you're ready to go on to the next step and build your app.

::: moniker-end

::: moniker range="<=vs-2017"

1. In Visual Studio, open the **File** menu and choose **New > Project** to open the **New Project** dialog.

![Open the New Project dialog](media/vscpp-file-new-project.gif "Open the New Project dialog")
Expand Down Expand Up @@ -79,11 +99,15 @@ When the code looks like this in the editor, you're ready to go on to the next s

[I ran into a problem.](#add-a-source-code-file-issues)

::: moniker-end

## Next Steps

> [!div class="nextstepaction"]
> [Build and run a C++ project](vscpp-step-2-build.md)

::: moniker range="<=vs-2017"

## Troubleshooting guide

Come here for solutions to common issues when you create your first C++ project.
Expand Down Expand Up @@ -120,4 +144,6 @@ If red squiggles appear under anything in the source code editor, check that you

[Go back](#add-code-to-the-source-file).

::: moniker-end

<iframe src="" height="0" width="0" frameborder="0" name="frameTarget" />
2 changes: 1 addition & 1 deletion docs/cpp/constructors-cpp.md
Original file line number Diff line number Diff line change
Expand Up @@ -627,7 +627,7 @@ Derived d3 = d2 calls: Base(Base&)
Derived d4 calls: Base()*/
```

**Visual Studio 2017 version 15.7 and later**: The **using** statement in **/std:C++17** mode brings into scope all constructors from the base class except those that have an identical signature to constructors in the derived class. In general, it is best to use inheriting constructors when the derived class declares no new data members or constructors. See also [Improvements in Visual Studio 2017 version 15.7](../overview/cpp-conformance-improvements-2017.md#improvements_157).
**Visual Studio 2017 version 15.7 and later**: The **using** statement in **/std:C++17** mode brings into scope all constructors from the base class except those that have an identical signature to constructors in the derived class. In general, it is best to use inheriting constructors when the derived class declares no new data members or constructors. See also [Improvements in Visual Studio 2017 version 15.7](../overview/cpp-conformance-improvements.md#improvements_157).

A class template can inherit all the constructors from a type argument if that type specifies a base class:

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 9 additions & 9 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ ms.author: "mblome"
<div class="container">
<ul class="cardsY panelContent featuredContent">
<li>
<a href="/visualstudio/install/install-visual-studio">
<a href="/cpp/build/vscpp-step-0-installation">
<div class="cardSize">
<div class="cardPadding">
<div class="card">
Expand All @@ -27,7 +27,7 @@ ms.author: "mblome"
</a>
</li>
<li>
<a href="/visualstudio/ide/getting-started-with-cpp-in-visual-studio">
<a href="/cpp/get-started/tutorial-console-cpp">
<div class="cardSize">
<div class="cardPadding">
<div class="card">
Expand All @@ -45,7 +45,7 @@ ms.author: "mblome"
</a>
</li>
<li>
<a href="/cpp/what-s-new-for-overview/visual-cpp-in-visual-studio.md">
<a href="/cpp/overview/what-s-new-for-visual-cpp-in-visual-studio">
<div class="cardSize">
<div class="cardPadding">
<div class="card">
Expand All @@ -55,7 +55,7 @@ ms.author: "mblome"
</div>
</div>
<div class="cardText">
<h3>What’s new for C++ in Visual Studio 2017</h3>
<h3>What’s new for C++ in Visual Studio</h3>
</div>
</div>
</div>
Expand All @@ -74,7 +74,7 @@ ms.author: "mblome"
<a href="#workloads1">Workloads</a>
<ul id="workloads1" class="cardsC">
<li>
<a href="/cpp/windows/universal-windows-apps-cpp">
<a href="/cpp/cppcx/universal-windows-apps-cpp">
<div class="cardSize">
<div class="cardPadding">
<div class="card">
Expand Down Expand Up @@ -219,7 +219,7 @@ ms.author: "mblome"
</a>
</li>
<li>
<a href="/cpp/ide/building-cpp-projects-in-visual-studio">
<a href="/cpp/build/projects-and-build-systems-cpp">
<div class="cardSize">
<div class="cardPadding">
<div class="card">
Expand Down Expand Up @@ -276,7 +276,7 @@ ms.author: "mblome"
</a>
</li>
<li>
<a href="/cpp/ide/deploying-native-desktop-applications-visual-cpp">
<a href="/cpp/windows/deploying-native-desktop-applications-visual-cpp">
<div class="cardSize">
<div class="cardPadding">
<div class="card">
Expand Down Expand Up @@ -363,7 +363,7 @@ ms.author: "mblome"
</a>
</li>
<li>
<a href="/cpp/windows/component-extensions-for-runtime-platforms">
<a href="/cpp/extensions/component-extensions-for-runtime-platforms">
<div class="cardSize">
<div class="cardPadding">
<div class="card">
Expand Down Expand Up @@ -439,7 +439,7 @@ ms.author: "mblome"
</a>
</li>
<li>
<a href="/cpp/windows/windows-runtime-cpp-template-library-wrl">
<a href="/cpp/cppcx/wrl/windows-runtime-cpp-template-library-wrl">
<div class="cardSize">
<div class="cardPadding">
<div class="card">
Expand Down
Loading