How to edit c++ code of actors placed in the editor?

Thanks a you all for your detailed answers ! It is clear now !
Cheers,
Gergely