Skip to content

Commit f0d5431

Browse files
Merge pull request #15504 from Mikejo5000/mikejo-br31
Update format specifiers for C++ bit flags enum
2 parents 370149b + 939fed9 commit f0d5431

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

docs/debugger/format-specifiers-in-cpp.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "Format specifiers in the debugger (C++)"
33
description: Use a format specifier to change the format in which a value is displayed in a Watch, Autos, or Locals window. This article provides usage details.
4-
ms.date: 12/12/2025
4+
ms.date: 06/15/2026
55
ms.topic: concept-article
66
dev_langs:
77
- "C++"
@@ -66,6 +66,7 @@ The following tables describe the format specifiers that you can use in Visual S
6666
|b|unsigned binary integer|25|0b00000000000000000000000000011001|
6767
|bb|unsigned binary integer(without leading 0b)|25|00000000000000000000000000011001|
6868
|e|scientific notation|25000000|2.500000e+07|
69+
|f|fixed-point floating point|25000000|25000000.000000|
6970
|g|shorter of scientific or floating point|25000000|2.5e+07|
7071
|c|single character|0x0065|101 'e'|
7172
|s|const char* string (with quotation marks)|\<location> "hello world"|"hello world"|
@@ -86,6 +87,7 @@ The following tables describe the format specifiers that you can use in Visual S
8687
|wc|Window class flag|0x0010|WC_DEFAULTCHAR|
8788
|wm|Windows message numbers|16|WM_CLOSE|
8889
|nr|Suppress "Raw View" item|
90+
|fe|bit flags enum (use when auto detection fails)|6|flag1 \| flag2 (6)|
8991
|nvo|Show "Raw View" item for numeric values only|
9092
|!|raw format, ignoring any data type views customizations|\<customized representation>|4|
9193
|handle|Displays information about win32 handle|0x000000000000009c| Displays useful information about handle such as thread ID, etc. |

0 commit comments

Comments
 (0)