If you've received a cpp.txt file and need to run it, the process is straightforward: in your file explorer.

C++ can generate gigabytes of data in cpp.txt in just seconds, far outperforming high-level scripting languages.

(or use the mv command in the terminal). Remove the .txt extension so the filename ends in .cpp .