Hi all
Can arduino IDE accept Cor C++ commnads ?
Thanks
Elico
Hi all
Can arduino IDE accept Cor C++ commnads ?
Thanks
Elico
How do you mean "accept C or C++ commands"?
The IDE allows you to write C/C++ code and compile / link it using a C/C++ compiler; the resulting file can be uploaded to the Arduino.
Yes, C/C++ is the only option you have for a programming language for Arduino.
The C language is not the same thing as the C library. The arduino IDE uses the GCC compiler and links with the avr libc library.
There's also the point that many standard C things - most notably the String class - will compile and ink just fine bat are not suitable for the memory-limited environment of a microprocessor.