0

I am starting the Hello project for cs50 and I made a small mistake in my starting code. In attempting to fix my error, I dug myself deeper into a hole (or a chasm) of mistakes. I think it would be the simplest solution to reset all the files and folders I have made so far. Is there a way to reset the entire program and start anew? I have found accounts online of people accidentally deleting all their work, which is ironic because I can't even do it on purpose lol.

1
  • Hello, can you please elaborate. If you are using the cs50 ide, you can simply delete the content of the file and rewrite it. But it would be better if you could attach the code and error you are receiving here. – Himanshi Aug 23 '20 at 10:40
1

A simple restart of the container instance via CS50 IDE > Restart (the top left corner menu) should in theory revert all files and changes except on /home/ubuntu. If do do wish to delete all files on /home/ubuntu the command rm -rf /home/ubuntu/* should help. Do keep in mind that the aforementioned command rm is irreversible.

1
  • Thank you so much, I tried everything! – Emily Rose Aug 21 '20 at 4:22

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .