Skip to content

Commit cb5869b

Browse files
authored
Merge pull request #10769 from changeworld/patch-3
Fix typo: charater -> character
2 parents 2d7062a + 2e12eee commit cb5869b

File tree

2 files changed

+3
-3
lines changed
  • docs/snippets/cpp/VS_Snippets_Misc

2 files changed

+3
-3
lines changed

docs/snippets/cpp/VS_Snippets_Misc/system.net.httpwebrequest.addrange/cpp/source.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
This program demonstrates 'AddRange(int, int)' method of 'HttpWebRequest class.
33
A new 'HttpWebRequest' Object* is created.The number of characters of the response to be received can be
44
restricted by the 'AddRange' method.By calling 'AddRange(50, 150)' on the 'HttpWebRequest' Object* the content
5-
of the response page is restricted from the 50th character to 150th charater.The response of the request is
5+
of the response page is restricted from the 50th character to 150th character.The response of the request is
66
obtained and displayed to the console.
77
*/
88

docs/snippets/cpp/VS_Snippets_Misc/system.net.httpwebrequest.addrange2/cpp/source.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
This program demonstrates 'AddRange(int, int)' method of 'HttpWebRequest class.
33
A new 'HttpWebRequest' Object* is created.The number of characters of the response to be received can be
44
restricted by the 'AddRange' method.By calling 'AddRange(50, 150)' on the 'HttpWebRequest' Object* the content
5-
of the response page is restricted from the 50th character to 150th charater.The response of the request is
5+
of the response page is restricted from the 50th character to 150th character.The response of the request is
66
obtained and displayed to the console.
77
*/
88

@@ -36,7 +36,7 @@ int main()
3636
StreamReader^ streamRead = gcnew StreamReader( streamResponse );
3737
array<Char>^ readBuffer = gcnew array<Char>(256);
3838
int count = streamRead->Read( readBuffer, 0, 256 );
39-
Console::WriteLine( "\nThe HTML contents of the page from 50th to 150 charaters are :\n " );
39+
Console::WriteLine( "\nThe HTML contents of the page from 50th to 150 characters are :\n " );
4040
while ( count > 0 )
4141
{
4242
String^ outputData = gcnew String( readBuffer,0,count );

0 commit comments

Comments
 (0)