Skip to content

Commit 9728d0e

Browse files
TylerMSFTTylerMSFT
authored andcommitted
fix github issue #3434
1 parent f667e0c commit 9728d0e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

docs/standard-library/using-insertion-operators-and-controlling-format.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
---
22
description: "Learn more about: Using Insertion Operators and Controlling Format"
33
title: "Using Insertion Operators and Controlling Format"
4-
ms.date: "11/04/2016"
4+
ms.date: 10/07/2021
55
helpviewer_keywords: ["insertion operators"]
6-
ms.assetid: cdefe986-6548-4cd1-8a67-b431d7d36a1c
76
---
87
# Using Insertion Operators and Controlling Format
98

@@ -81,7 +80,7 @@ using namespace std;
8180
int main( )
8281
{
8382
double values[] = { 1.23, 35.36, 653.7, 4358.24 };
84-
char *names[] = { "Zoot", "Jimmy", "Al", "Stan" };
83+
const char *names[] = { "Zoot", "Jimmy", "Al", "Stan" };
8584
for( int i = 0; i < 4; i++ )
8685
cout << setw( 7 ) << names[i]
8786
<< setw( 10 ) << values[i] << endl;

0 commit comments

Comments
 (0)