Skip to content

Commit 54aeef5

Browse files
authored
Merge pull request #1478 from MicrosoftDocs/FromPublicMasterBranch
Confirm merge from FromPublicMasterBranch to master to sync with https://github.com/MicrosoftDocs/cpp-docs (branch master)
2 parents 7b13103 + 6a6b206 commit 54aeef5

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

docs/c-runtime-library/reference/lround-lroundf-lroundl-llround-llroundf-llroundl.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ For additional compatibility information, see [Compatibility](../../c-runtime-li
8383

8484
```C
8585
// crt_lround.c
86-
// Build with: cl /W3 /Tc crt_lround.c
86+
// Build with: cl /W4 /Tc crt_lround.c
8787
// This example displays the rounded results of
8888
// the floating-point values 2.499999, -2.499999,
8989
// 2.8, -2.8, 3.5 and -3.5.
@@ -95,7 +95,7 @@ int main( void )
9595
{
9696
double x = 2.499999;
9797
float y = 2.8f;
98-
long double z = 3.5;
98+
long double z = 3.5L;
9999

100100
printf("lround(%f) is %d\n", x, lround(x));
101101
printf("lround(%f) is %d\n", -x, lround(-x));
@@ -111,8 +111,8 @@ lround(2.499999) is 2
111111
lround(-2.499999) is -2
112112
lroundf(2.800000) is 3
113113
lroundf(-2.800000) is -3
114-
lroundl(2.500000) is 4
115-
lroundl(-2.500000) is -4
114+
lroundl(3.500000) is 4
115+
lroundl(-3.500000) is -4
116116
```
117117

118118
## See also

docs/cppcx/platform-collections-vectoriterator-class.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ A integer displacement.
309309

310310
The updated VectorIterator.
311311

312-
## <a name="operator-plus"></a> ectorIterator::operator+ Operator
312+
## <a name="operator-plus"></a> VectorIterator::operator+ Operator
313313

314314
Returns a VectorIterator that references the element at the specified displacement from the specified VectorIterator.
315315

@@ -408,4 +408,4 @@ The first syntax example is the default constructor. The second syntax example i
408408

409409
## See Also
410410

411-
[Platform Namespace](platform-namespace-c-cx.md)
411+
[Platform Namespace](platform-namespace-c-cx.md)

docs/windows/overview-of-windows-programming-in-cpp.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ There are several broad categories of Windows apps that you can develop with Vis
2525

2626
UWP apps are able to run on all Windows 10 devices such as tablets and mobile phones, as well as on the desktop. On the desktop, they are able to run as a desktop window, instead of always running full-screen. These apps can also run on the Xbox, and on future devices. UWP apps run on the Windows Runtime, which provides user interface elements, services, and an interface to the diverse hardware devices that are supported on Windows.
2727

28-
You can write UWP apps in C++/CX, a dialect of C++, you can use the [C++/WinRT library](https://moderncpp.com/)for some scenarios. UWP apps compile to native code and have a XAML user interface, or use DirectX. Windows Runtime components that are written in native code that UWP apps written in other languages can consume. For more information, see [Create a Universal Windows Platform app in C++](http://go.microsoft.com/fwlink/?LinkID=534976), [Create your first UWP game using DirectX](http://go.microsoft.com/fwlink/p/?LinkId=244656), and [Creating Windows Runtime components in C++](http://go.microsoft.com/fwlink/p/?LinkId=244658).
28+
You can write UWP apps in C++/CX, a dialect of C++, you can use the [C++/WinRT library](https://moderncpp.com/) for some scenarios. UWP apps compile to native code and have a XAML user interface, or use DirectX. Windows Runtime components that are written in native code that UWP apps written in other languages can consume. For more information, see [Create a Universal Windows Platform app in C++](http://go.microsoft.com/fwlink/?LinkID=534976), [Create your first UWP game using DirectX](http://go.microsoft.com/fwlink/p/?LinkId=244656), and [Creating Windows Runtime components in C++](http://go.microsoft.com/fwlink/p/?LinkId=244658).
2929

3030
This category also includes using C++ for core components and computational code in the context of server and cloud programming. Sometimes the performance-intensive code at the core of a server or cloud application is written in C++ to maximize performance. You can compile such code into a DLL and use it from C# or Visual Basic.
3131

@@ -102,4 +102,4 @@ Visual Studio includes a powerful debugger for native code, static analysis tool
102102

103103
|Title|Description|
104104
|-----------|-----------------|
105-
|[Visual C++](../visual-cpp-in-visual-studio.md)|Parent topic for Visual C++ developer content.|
105+
|[Visual C++](../visual-cpp-in-visual-studio.md)|Parent topic for Visual C++ developer content.|

0 commit comments

Comments
 (0)