New to coding: Need to save code from here to a .cpp format for submission, how do I do that?
Ryan714 (0)

I've tried to download as zip, but the format seemed a little off and I couldn't rename the file itself to what the professor wanted the source code entitled. I could only rename the folder.

What's the best way to save code off to a .cpp file

Thank you

You are viewing a single comment. View All
eankeen (999)


not exactly why you cant rename the file itself, but i typically do the following:

  • download as zip
  • extract zip folder
  • open folder and rename any files i need
  • recompress folder as zip
  • submit assignment

it could be possible that if you rename the file name, you may have to change the source code for it to work.

maybe i dont understand what you are really trying to do?

hope that helped :)