C++: Difference between revisions

234 bytes added ,  24 September 2019
no edit summary
No edit summary
No edit summary
Line 3: Line 3:
=Usage=
=Usage=
How to do things using the [https://en.wikipedia.org/wiki/C%2B%2B_Standard_Library C++ standard library (stdlib)].
How to do things using the [https://en.wikipedia.org/wiki/C%2B%2B_Standard_Library C++ standard library (stdlib)].
==Compilation==
===G++===
<syntaxhighlight lang="bash">
g++ my_driver.c [-Iincludefolder] -o my_program.out
</syntaxhighlight>
Misc optimizations
* <code>-std=c++17</code> for C++17 support
* <code>-O3</code> for level 3 optmizations
==Strings==
==Strings==
===String Interpolation===
===String Interpolation===