Putting C++ file on BlueBoat

Hello,
I was wondering how I can transfer a C program I write on my laptop to the BlueBoat so I can run the program with the ROS extension using rosrun.