How Arduino IDE pre-processing work?

And a few other things are doe for you such as adding the correct main() ans the standard #include's

Mark