How can I get the .hex and .cpp files of my project?

Found it finally, thanks.

Arduino.h was interesting too.