How to import text code to max -gen ? /arduino

Hi, i have seen a few places with max code in text format.
Im wondering if you can make use of that text and import it to max.
Do i have to copy it into the codebox in max?
Inside the window that opens inside gen when pressing the c symbol?

Lastly, i have been looking inside the code of the daisy example folders, is that code usable (the one one inside the.cpp files) in Arduino? Can i copy, paste and compile?

Sorry, getting started here :slight_smile: