mirror of
https://github.com/fmtlib/fmt.git
synced 2024-11-23 10:50:05 +00:00
Edit readme.
This commit is contained in:
parent
2a747b19e0
commit
aa6aa4207e
@ -54,8 +54,8 @@ This prints ``Hello, world!`` to stdout:
|
||||
|
||||
.. code-block:: c++
|
||||
|
||||
fmt::print("Hello, {}!", "world"); // uses Python-like format
|
||||
fmt::printf("Hello, %s!", "world"); // uses printf format
|
||||
fmt::print("Hello, {}!", "world"); // uses Python-like format string syntax
|
||||
fmt::printf("Hello, %s!", "world"); // uses printf format string syntax
|
||||
|
||||
Arguments can be accessed by position and arguments' indices can be repeated:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user