Skip to content

Commit a67cefb

Browse files
Tyler WhitneyTyler Whitney
authored andcommitted
Merge branch 'master' of https://github.com/MicrosoftDocs/cpp-docs-pr into twhitney-span
2 parents afb7847 + cd999d5 commit a67cefb

9 files changed

Lines changed: 61 additions & 56 deletions

File tree

docs/assembler/masm/processor-manufacturer-programming-manuals.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,25 @@
11
---
22
title: "Processor manufacturer programming manuals"
3-
ms.date: "12/17/2019"
3+
ms.date: "05/28/2020"
44
ms.assetid: 61844163-de2f-419a-808e-04de39dfdddf
55
---
66
# Processor manufacturer programming manuals
77

8-
This article provides links to websites that may contain programming information about processors that are not manufactured, sold, or supported by Microsoft. Microsoft does not own or control the websites or the content on them.
8+
This article provides links to websites that may contain programming info about processors that aren't made, sold, or supported by Microsoft. Microsoft doesn't control the websites or their content.
99

1010
## Processor manufacturer websites
1111

1212
- [AMD Developer Guides, Manuals & ISA Documents](https://developer.amd.com/resources/developer-guides-manuals/)
1313

14+
- [ARM Architecture Reference Manual](https://developer.arm.com/docs/ddi0487/fb)
15+
1416
- [Intel 64 and IA-32 Architectures Software Developer Manuals](https://software.intel.com/articles/intel-sdm)
1517

1618
- [Introduction to Intel Advanced Vector Extensions](https://software.intel.com/articles/introduction-to-intel-advanced-vector-extensions)
1719

1820
## Remarks
1921

20-
Neither Visual Studio nor the Microsoft Macro Assembler support all processors.
22+
Visual Studio and the Microsoft Macro Assembler don't support all processors.
2123

2224
## See also
2325

docs/c-runtime-library/reference/strcpy-s-wcscpy-s-mbscpy-s.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: "strcpy_s, wcscpy_s, _mbscpy_s, _mbscpy_s_l"
3-
ms.date: "4/2/2020"
3+
ms.date: "5/28/2020"
44
api_name: ["wcscpy_s", "_mbscpy_s", "_mbscpy_s_l", "strcpy_s", "_o__mbscpy_s", "_o__mbscpy_s_l", "_o_strcpy_s", "_o_wcscpy_s"]
55
api_location: ["msvcrt.dll", "msvcr80.dll", "msvcr90.dll", "msvcr100.dll", "msvcr100_clr0400.dll", "msvcr110.dll", "msvcr110_clr0400.dll", "msvcr120.dll", "msvcr120_clr0400.dll", "ucrtbase.dll", "api-ms-win-crt-multibyte-l1-1-0.dll", "api-ms-win-crt-string-l1-1-0.dll", "ntoskrnl.exe", "api-ms-win-crt-private-l1-1-0.dll"]
66
api_type: ["DLLExport"]
@@ -73,7 +73,7 @@ errno_t _mbscpy_s_l(
7373
Location of the destination string buffer.
7474

7575
*dest_size*<br/>
76-
Size of the destination string buffer in **char** units for narrow and multi-byte functions, and **wchar_t** units for wide functions. This value must be greater than zero and not greater than **RSIZE_MAX**.
76+
Size of the destination string buffer in **char** units for narrow and multi-byte functions, and **wchar_t** units for wide functions. This value must be greater than zero and not greater than **RSIZE_MAX**. Ensure that this size accounts for the terminating `NULL` following the string.
7777

7878
*src*<br/>
7979
Null-terminated source string buffer.

docs/cpp/data-type-ranges.md

Lines changed: 34 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: "Data Type Ranges"
3-
ms.date: "05/07/2019"
3+
ms.date: "05/28/2020"
44
helpviewer_keywords: ["float keyword [C++]", "char keyword [C++]", "unsigned long", "__wchar_t keyword [C++]", "unsigned short int [C++]", "enum keyword [C++]", "unsigned char keyword [C++]", "integer data type [C++], data type ranges", "int data type", "data types [C++], ranges", "unsigned int [C++]", "short data type", "short int data", "signed types [C++], data type ranges", "long long keyword [C++]", "long double keyword [C++]", "double data type [C++], data type ranges", "signed short int [C++]", "unsigned short", "sized integer types", "signed int [C++]", "signed long int [C++]", "signed char keyword [C++]", "wchar_t keyword [C++]", "long keyword [C++]", "ranges [C++]", "unsigned types [C++], data type ranges", "floating-point numbers [C++]", "data type ranges", "ranges [C++], data types", "long int keyword [C++]", "unsigned long int [C++]"]
55
ms.assetid: 3691ceca-05fb-4b82-b1ae-5c4618cda91a
66
---
@@ -30,39 +30,39 @@ The ranges that are specified in the following table are inclusive-inclusive.
3030

3131
|Type Name|Bytes|Other Names|Range of Values|
3232
|---------------|-----------|-----------------|---------------------|
33-
|**int**|4|**signed**|-2,147,483,648 to 2,147,483,647|
34-
|**unsigned int**|4|**unsigned**|0 to 4,294,967,295|
35-
|**__int8**|1|**char**|-128 to 127|
36-
|**unsigned __int8**|1|**unsigned char**|0 to 255|
37-
|**__int16**|2|**short**, **short int**, **signed short int**|-32,768 to 32,767|
38-
|**unsigned __int16**|2|**unsigned short**, **unsigned short int**|0 to 65,535|
39-
|**__int32**|4|**signed**, **signed int**, **int**|-2,147,483,648 to 2,147,483,647|
40-
|**unsigned __int32**|4|**unsigned**, **unsigned int**|0 to 4,294,967,295|
41-
|**__int64**|8|**long long**, **signed long long**|-9,223,372,036,854,775,808 to 9,223,372,036,854,775,807|
42-
|**unsigned __int64**|8|**unsigned long long**|0 to 18,446,744,073,709,551,615|
43-
|**bool**|1|none|**false** or **true**|
44-
|**char**|1|none|-128 to 127 by default<br /><br /> 0 to 255 when compiled by using [/J](../build/reference/j-default-char-type-is-unsigned.md)|
45-
|**signed char**|1|none|-128 to 127|
46-
|**unsigned char**|1|none|0 to 255|
47-
|**short**|2|**short int**, **signed short int**|-32,768 to 32,767|
48-
|**unsigned short**|2|**unsigned short int**|0 to 65,535|
49-
|**long**|4|**long int**, **signed long int**|-2,147,483,648 to 2,147,483,647|
50-
|**unsigned long**|4|**unsigned long int**|0 to 4,294,967,295|
51-
|**long long**|8|none (but equivalent to **__int64**)|-9,223,372,036,854,775,808 to 9,223,372,036,854,775,807|
52-
|**unsigned long long**|8|none (but equivalent to **unsigned __int64**)|0 to 18,446,744,073,709,551,615|
53-
|**enum**|varies|none| |
54-
|**float**|4|none|3.4E +/- 38 (7 digits)|
55-
|**double**|8|none|1.7E +/- 308 (15 digits)|
56-
|**long double**|same as **double**|none|Same as **double**|
57-
|**wchar_t**|2|**__wchar_t**|0 to 65,535|
58-
59-
Depending on how it's used, a variable of **__wchar_t** designates either a wide-character type or multibyte-character type. Use the `L` prefix before a character or string constant to designate the wide-character-type constant.
60-
61-
**signed** and **unsigned** are modifiers that you can use with any integral type except **bool**. Note that **char**, **signed char**, and **unsigned char** are three distinct types for the purposes of mechanisms like overloading and templates.
62-
63-
The **int** and **unsigned int** types have a size of four bytes. However, portable code should not depend on the size of **int** because the language standard allows this to be implementation-specific.
64-
65-
C/C++ in Visual Studio also supports sized integer types. For more information, see [__int8, \__int16, \__int32, \__int64](../cpp/int8-int16-int32-int64.md) and [Integer Limits](../cpp/integer-limits.md).
33+
|`int`|4|`signed`|-2,147,483,648 to 2,147,483,647|
34+
|`unsigned int`|4|`unsigned`|0 to 4,294,967,295|
35+
|`__int8`|1|`char`|-128 to 127|
36+
|`unsigned __int8`|1|`unsigned char`|0 to 255|
37+
|`__int16`|2|`short`, `short int`, `signed short int`|-32,768 to 32,767|
38+
|`unsigned __int16`|2|`unsigned short`, `unsigned short int`|0 to 65,535|
39+
|`__int32`|4|`signed`, `signed int`, `int`|-2,147,483,648 to 2,147,483,647|
40+
|`unsigned __int32`|4|`unsigned`, `unsigned int`|0 to 4,294,967,295|
41+
|`__int64`|8|`long long`, `signed long long`|-9,223,372,036,854,775,808 to 9,223,372,036,854,775,807|
42+
|`unsigned __int64`|8|`unsigned long long`|0 to 18,446,744,073,709,551,615|
43+
|`bool`|1|none|`false` or `true`|
44+
|`char`|1|none|-128 to 127 by default<br /><br /> 0 to 255 when compiled by using [/J](../build/reference/j-default-char-type-is-unsigned.md)|
45+
|`signed char`|1|none|-128 to 127|
46+
|`unsigned char`|1|none|0 to 255|
47+
|`short`|2|`short int`, `signed short int`|-32,768 to 32,767|
48+
|`unsigned short`|2|`unsigned short int`|0 to 65,535|
49+
|`long`|4|`long int`, `signed long int`|-2,147,483,648 to 2,147,483,647|
50+
|`unsigned long`|4|`unsigned long int`|0 to 4,294,967,295|
51+
|`long long`|8|none (but equivalent to `__int64`)|-9,223,372,036,854,775,808 to 9,223,372,036,854,775,807|
52+
|`unsigned long long`|8|none (but equivalent to `unsigned __int64`)|0 to 18,446,744,073,709,551,615|
53+
|`enum`|varies|none| |
54+
|`float`|4|none|3.4E +/- 38 (7 digits)|
55+
|`double`|8|none|1.7E +/- 308 (15 digits)|
56+
|`long double`|same as `double`|none|Same as `double`|
57+
|`wchar_t`|2|`__wchar_t`|0 to 65,535|
58+
59+
Depending on how it's used, a variable of `__wchar_t` designates either a wide-character type or multibyte-character type. Use the `L` prefix before a character or string constant to choose the wide-character-type constant.
60+
61+
`signed` and `unsigned` are modifiers that you can use with any integral type except `bool`. Note that `char`, `signed char`, and `unsigned char` are three distinct types for the purposes of mechanisms like overloading and templates.
62+
63+
The `int` and `unsigned int` types have a size of 4 bytes. However, portable code shouldn't depend on the size of `int` because the language standard allows this to be implementation-specific.
64+
65+
C/C++ in Visual Studio also supports sized integer types. For more information, see [__int8, \__int16, \__int32, \__int64](../cpp/int8-int16-int32-int64.md), and [Integer Limits](../cpp/integer-limits.md).
6666

6767
For more information about the restrictions of the sizes of each type, see [Built-in types](../cpp/fundamental-types-cpp.md).
6868

docs/ide/writing-and-refactoring-code-cpp.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ The files are easily shareable via source control, so you can enforce coding con
156156

157157
![C&#43;&#43; Clang Format](../ide/media/clang-format-cpp.png "Clang Format")
158158

159-
Visual Studio 2017 and later also supports [EditorConfig](https://editorconfig.org/), which works in a similar way. ClangFormat, however, has a more style options than EditorConfig, including rules that are specific to C++. With **EditorConfig**, you create **.editorconfig** files and place them in different folders of your codebase to specify code styles for those folders and their subfolders. An **.editorconfig** file supersedes any other **.editorconfig** files in parent folders and overwrites any formatting settings configured via **Tools** > **Options**. You can set rules for tabs vs. spaces, indent size, and more. For more information, see [Create portable, custom editor settings with EditorConfig](/visualstudio/ide/create-portable-custom-editor-options).
159+
Visual Studio 2017 and later also supports [EditorConfig](https://editorconfig.org/), which works in a similar way. ClangFormat, however, has more style options than EditorConfig, including rules that are specific to C++. With **EditorConfig**, you create **.editorconfig** files and place them in different folders of your codebase to specify code styles for those folders and their subfolders. An **.editorconfig** file supersedes any other **.editorconfig** files in parent folders and overwrites any formatting settings configured via **Tools** > **Options**. You can set rules for tabs vs. spaces, indent size, and more. For more information, see [Create portable, custom editor settings with EditorConfig](/visualstudio/ide/create-portable-custom-editor-options).
160160

161161
## Other formatting options
162162

docs/media/index/logo-asm.svg

Lines changed: 1 addition & 0 deletions
Loading

docs/media/index/logo-atl.svg

Lines changed: 1 addition & 0 deletions
Loading

docs/media/index/logo-mfc.svg

Lines changed: 1 addition & 0 deletions
Loading

0 commit comments

Comments
 (0)