1
# Standard C++ for Arduino
5
This is a straight port of [uClibc++](http://cxx.uclibc.org/) for Arduino.
6
I have cut nothing out and held nothing back. Use with care!
8
That said, I have used uClibc++'s own internal configuration to pare back
9
un-needed stuff, like support for floats, gratuitous template
10
instantiations and other things. See system\_configuration.h for all of
13
Plus I added in [Andy Brown's](http://andybrown.me.uk/ws/2011/01/15/the-standard-template-library-stl-for-avr-with-c-streams/#IDComment246044033)
14
excellent ohserialstream class for managing the HardwareSerial as an ostream.
16
## How do I install it?
18
This is installed just like a regular Arduino library. Unpack the contents
19
of the distribution into the 'libraries' folder under your sketchbook. For
20
example, my sketchbook is at /home/maniacbug/Source/Arduino, so this
21
library is in /home/maniacbug/Source/Arduino/libraries/StandardCplusplus .
23
Be sure to reset your Arduino IDE after installing it.
25
## How do I try it out?
27
From the Arduino IDE, navigate the menus to:
28
File > Examples > StandardCplusplus > string\_vector
30
Upload that, set your serial monitor to 57600 baud, and check the output.
32
## How do I learn more?
34
The web is your friend. [cplusplus.com](http://cplusplus.com/reference/) is my personal favorite reference.
36
## Which versions does it work with?
38
Arduino 1.0 and beyond.
40
## What is the license?
42
uClibc++ is LGPL, so this port is also. Andy's <serstream> file is actually
43
CC-BY-SA, however he indicated he'd be releasing it using the 3-clause
44
modified BSD license, so it will be fully compatible with uClibc++.