Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
10 years, 2 months ago.
Why there are only header files (.h)?
There are only the definitions of the classes/functions/etc in these hedaer files. Where is the syntax of these classes/functions/etc (.c or .cpp files)?
Question relating to:
1 Answer
10 years, 2 months ago.
You only need header files for a pre-compiled library which is why there are no cpp files..
If you want the full code then take a look at http://mbed.org/users/mbed_official/code/mbed-src/
If you use mbed-src in place of the standard mbed library the results should be identical but take a little longer to compile. However the src library is the live development branch of the code rather than a tested stable release so this isn't recommended if you can avoid it.
And how can the code be compiled without the c/cpp files?
posted by Manos Kav 01 Oct 2014