mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-24 12:14:26 +00:00
Add Usage section.
This commit is contained in:
parent
b1bbc90919
commit
680d88de68
@ -2,6 +2,22 @@
|
|||||||
|
|
||||||
.. _string-formatting-api:
|
.. _string-formatting-api:
|
||||||
|
|
||||||
|
Usage
|
||||||
|
-----
|
||||||
|
|
||||||
|
To use the C++ Format library, add ``format.h`` and ``format.cc`` from
|
||||||
|
one of the `release archives <https://github.com/cppformat/cppformat/releases>`__
|
||||||
|
or the `Git repository <https://github.com/cppformat/cppformat>`__ to your project.
|
||||||
|
|
||||||
|
If you are using Visual Studio with precompiled headers, you might need to add
|
||||||
|
the line
|
||||||
|
|
||||||
|
::
|
||||||
|
|
||||||
|
#include "stdafx.h"
|
||||||
|
|
||||||
|
before other includes in ``format.cc``.
|
||||||
|
|
||||||
C++ Format Library API
|
C++ Format Library API
|
||||||
----------------------
|
----------------------
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user