Unverified Commit 0b3a83f7 authored by Victor Zverovich's avatar Victor Zverovich Committed by GitHub

Update README.rst

parent 5aa5c987
......@@ -66,10 +66,13 @@ Print ``Hello, world!`` to ``stdout``:
.. code:: c++
fmt::print("Hello, {}!", "world"); // Python-like format string syntax
fmt::printf("Hello, %s!", "world"); // printf format string syntax
#include <fmt/core.h>
Format a string and use positional arguments:
int main() {
fmt::print("Hello, world!\n");
}
Format a string using positional arguments:
.. code:: c++
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment