chiark / gitweb /
Docs: Refined syntax highlighting and fixed c++
authorAlex St <al3xst@users.noreply.github.com>
Tue, 3 Apr 2018 14:35:37 +0000 (16:35 +0200)
committerJulien Schueller <schueller@phimeca.com>
Tue, 3 Apr 2018 15:49:49 +0000 (17:49 +0200)
commiteafdc8ce9403a4e1532239c1bebbdb86064eda38
tree2bda9e4fba9c676e756ddfe8b1a5845f2696338d
parent2b89f23a09a601d195c42eead6bb9a33c27aa90b
Docs: Refined syntax highlighting and fixed c++

I specified the language on each relevant code example, so the proper syntax highlighting should be used.

Also I fixed the C++ part, where every angle bracket was escaped with additional quotation marks and thus hiding some relevant information in the online docs.

Also I added a C++ output functionality with `std::setprecision` (from the include `iomanip`) which behaves equivalent to the printf from the C\C++ part.
doc/docs/NLopt_Tutorial.md