Use M-k for copying lines. C-M-<number> for switching to terminal windows
Shell script to compile C/C++ code