Skip to content

Commit fed18a9

Browse files
author
Colin Robertson
authored
Merge pull request MicrosoftDocs#43 from tcyrus/patch-1
Update string-and-i-o-formatting-modern-cpp.md
2 parents a2bc955 + 44d9503 commit fed18a9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/cpp/string-and-i-o-formatting-modern-cpp.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ translation.priority.ht:
3333
# String and I/O Formatting (Modern C++)
3434
C++ [iostreams](../standard-library/iostream.md) are capable of formatted string I/O. For example, the following code shows how to set cout to format an integer to output in hexadecimal, first saving off the current state and re-setting afterwards, because once state formatting is passed to cout, it stays that way until changed, not just for the one line of code.
3535

36-
```fortran
36+
```cpp
3737
#include <iostream>
3838
#include <iomanip>
3939

@@ -89,4 +89,4 @@ int main() 
8989
[C++ Standard Library](../standard-library/cpp-standard-library-reference.md)
9090
[\<iostream>](../standard-library/iostream.md)
9191
[\<limits>](../standard-library/limits.md)
92-
[\<iomanip>](../standard-library/iomanip.md)
92+
[\<iomanip>](../standard-library/iomanip.md)

0 commit comments

Comments
 (0)