how do I download a file as .cpp
how do I download a file as .cpp
oignons
you can copy the code into Notepad(Windows) or TextEdit(Mac) and click "all files", then save it as .cpp
Hope it helps.
You can download the file as zip using the left sidebar, then you can unzip it to get a folder with your cpp file in it.