diff options
Diffstat (limited to 'docs/source/lang/cpp/const.rst')
| -rw-r--r-- | docs/source/lang/cpp/const.rst | 6 | 
1 files changed, 2 insertions, 4 deletions
diff --git a/docs/source/lang/cpp/const.rst b/docs/source/lang/cpp/const.rst index 52de85f..ad0c580 100644 --- a/docs/source/lang/cpp/const.rst +++ b/docs/source/lang/cpp/const.rst @@ -21,7 +21,7 @@ method for defining constants than ``#define``.  Example  ------- -:: + ::      // this defines a variable called "pi", which cannot be changed:      const float pi = 3.14; @@ -33,7 +33,6 @@ Example      pi = 7;        // illegal - you can't write to (modify) a constant -  **#define** or **const**  ------------------------ @@ -48,5 +47,4 @@ See Also  -  :ref:`#define <lang-define>`  -  :ref:`volatile <lang-volatile>` - -.. include:: cc-attribution.txt +.. include:: /arduino-cc-attribution.txt  | 
