My cpp file isn't displaying on my terminal. please how can remedy this?

i am using a macbook air. I saved my triplex.cpp file on an external hard drive to create space for software. But it doesnt show up on my terminal but shows in my output. How can i resolve this?

Have you figured this out already? If not I might be able to help, could you post a screenshot of what exactly is going on?