Transfer cpp files and headers

Hi everyone! :slight_smile:
So my question is, can you send the cpp and header files of a project to someone.
Background story :smiley:
So basically me and my friends wanna start making a game, but sadly because I am constantly in my dorm I canโ€™t run unreal on my laptop, but I would be the coder of the group. And I just thought, can you do something like my friend would make the map and stuffs like that in unreal and then he would send me the cpp and header files so that I could do the coding on them(writing the functions and everything)
Can you do something like that or Iโ€™m just dumb? :'D