Included C/C++ Functions...

20 Nov 2009

Hi all,

I just received my mbed and I've started to tinker with it.. I must say, it is pretty nifty!

I was just wondering what C functions are included, I can't seem to find any documentation regarding this. I know sin(), sqrt(), strlen() are included, but is there any documentation that contains available functions (other than the mbed.h).

Thanks

20 Nov 2009 . Edited: 20 Nov 2009

From mbed.h:

// Useful C libraries
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <time.h>

Online compiler uses RealView 4.0 compiler. It should provide more or less complete ISO C/C++ support. I just tried and I could even use std::string (after adding #include <string>).

Here's some links to manuals.

20 Nov 2009

Oh, I should have checked the header.. Thanks!