Skip to content

maniacbug/StandardCplusplus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

c94ef67 · Jul 7, 2023

History

33 Commits
Jul 5, 2023
Jun 24, 2012
Dec 25, 2011
Dec 25, 2011
Dec 25, 2011
Jul 5, 2023
Jan 17, 2012
Feb 12, 2012
Dec 25, 2011
Sep 22, 2013
Dec 25, 2011
Dec 25, 2011
Jul 5, 2023
Dec 25, 2011
Dec 25, 2011
Dec 25, 2011
Dec 25, 2011
Dec 25, 2011
Dec 25, 2011
Dec 25, 2011
Dec 25, 2011
Dec 25, 2011
Dec 25, 2011
Dec 25, 2011
Dec 25, 2011
Dec 25, 2011
Dec 25, 2011
Dec 25, 2011
Dec 25, 2011
Dec 25, 2011
Jul 5, 2023
Dec 25, 2011
Dec 25, 2011
Dec 25, 2011
Dec 25, 2011
Dec 25, 2011
Dec 25, 2011
Jul 5, 2023
Dec 25, 2011
Dec 25, 2011
Dec 25, 2011
Dec 25, 2011
Dec 25, 2011
Dec 25, 2011
Dec 25, 2011
Dec 25, 2011
Dec 25, 2011
Dec 25, 2011
Dec 25, 2011
Dec 25, 2011
May 8, 2012
Dec 25, 2011
Dec 25, 2011
Dec 25, 2011
Jan 17, 2012
Dec 25, 2011
Jan 17, 2012
Dec 25, 2011
Jul 5, 2023
Dec 25, 2011
Feb 7, 2012
Dec 25, 2011
Dec 25, 2011
Dec 25, 2011
Jul 7, 2023
Feb 10, 2012
Dec 25, 2011
Dec 25, 2011
Dec 25, 2011
Dec 25, 2011
Dec 25, 2011
Dec 25, 2011
Dec 25, 2011
Dec 25, 2011
Dec 25, 2011
Dec 25, 2011
Dec 25, 2011
Dec 25, 2011
Jul 5, 2023
Dec 25, 2011
Dec 25, 2011
Dec 25, 2011
Jul 5, 2023
Dec 25, 2011
Jul 5, 2023
Dec 25, 2011
Dec 25, 2011
Jul 5, 2023
Dec 25, 2011
Dec 25, 2011
Dec 25, 2011
Dec 25, 2011
Dec 25, 2011
Dec 25, 2011
Dec 25, 2011
Dec 25, 2011
Dec 25, 2011
Dec 25, 2011
Jul 10, 2013
Dec 25, 2011
Dec 25, 2011
Dec 25, 2011
Dec 25, 2011
Sep 22, 2013
Dec 25, 2011
Dec 25, 2011
Dec 25, 2011
Dec 25, 2011
Jul 5, 2023
Dec 25, 2011
Dec 25, 2011
Dec 25, 2011
Dec 25, 2011
May 8, 2012
Dec 25, 2011

Repository files navigation

Standard C++ for Arduino

What is this?

This is a straight port of uClibc++ for Arduino. I have cut nothing out and held nothing back. Use with care!

That said, I have used uClibc++'s own internal configuration to pare back un-needed stuff, like support for floats, gratuitous template instantiations and other things. See system_configuration.h for all of those gory details.

Plus I added in Andy Brown's excellent ohserialstream class for managing the HardwareSerial as an ostream.

How do I install it?

This is installed just like a regular Arduino library. Unpack the contents of the distribution into the 'libraries' folder under your sketchbook. For example, my sketchbook is at /home/maniacbug/Source/Arduino, so this library is in /home/maniacbug/Source/Arduino/libraries/StandardCplusplus .

Be sure to reset your Arduino IDE after installing it.

How do I use it?

You need an extra #include. It has to come before C++ standard library #includes:

#include <StandardCplusplus.h>

Otherwise, you will see cryptic messages like this:

fatal error: vector: No such file or directory

How do I try it out?

From the Arduino IDE, navigate the menus to: File > Examples > StandardCplusplus > string_vector

Upload that, set your serial monitor to 57600 baud, and check the output.

How do I learn more?

The web is your friend. cplusplus.com is my personal favorite reference.

Which versions does it work with?

Arduino 1.0 and beyond.

What is the license?

uClibc++ is LGPL, so this port is also. Andy's file is actually CC-BY-SA, however he indicated he'd be releasing it using the 3-clause modified BSD license, so it will be fully compatible with uClibc++.

About

Standard C++ for Arduino (port of uClibc++)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published