Skip to content

The boxes of example code shown on this webpage cannot be copied "as is" #3010

Open
@Robert-Tortorelli

Description

@Robert-Tortorelli

As currently presented, the boxes of example code shown on this webpage, that are intended to be copied and pasted into your Visual Studio project template, cannot be copied "as is". If you do copy all of the box's code (by clicking the provided widget) and paste it into the files provided by the Visual Studio template, you'll have to edit the result to get the desired and correct code.

A better method is used at the following link, which provides example code that can be copied and pasted "as is" without the need to edit the result:
https://docs.microsoft.com/en-us/cpp/windows/walkthrough-creating-windows-desktop-applications-cpp?view=msvc-160


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Metadata

Metadata

Assignees

Labels

Pri2doc-bugfeedback is about something that is out of date, unclear, confusing, or broken in the articleget-started/techuwp/prod

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions