Don't get me wrong I am not complaining about a lack of functionality in sprintf what I am getting at is that I don't know how to find out what the IDE will and will not do.
Is there documentation somewhere that will tell me what parts of C++ are and aren't implemented.
sprintf being a prime example ...
The Libc (run-time libraries included with the AVR port of GCC) documentation can be found here...http://www.nongnu.org/avr-libc/
sprintf is a function in the C(++) run-time library. It's only connection to C(++) is that it is included with most toolsets.
Also the microcontroller being based on the classic Harvard computer architecture is probably another 'restriction'?
I've actually used sprintf in a Pascal program.
The Language Reference on the Arduino website seems very abbreviated.
sprintf atoi, print, getc (from stdio) sin(), random() and anything that requires you to include a ".h" file (in plain c/c++) are NOT part of the language .They are lib's supplied with language, they may be defined in the standards but they are still just add ons . If you look at the language the syntax does not say ant thing about them. Mark
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16