Are you an edX student? Don’t attempt to follow these instructions! Head over to cs50.edx.org or cs50.harvard.edu/x, and use the instructions there instead! These instructions are only for the course at Harvard College and Harvard Extension School!
Problem Set 2
What to Do
- Log into code.cs50.io
- Run
update50
in your codespace’s terminal window to ensure your codespace is up-to-date and, when prompted, click Rebuild now - Submit Readability
- Submit one of:
- Caesar, if feeling less comfortable
- Substitution, if feeling more comfortable
- Submit this form
If you submit both Caesar and Substitution, we’ll record the higher of your two scores.
Note that each problem invites you to try out the staff’s own solution thereto using a tool called CS50 Sandbox, which is similar to VS Code but configured to have only a terminal window in which you can execute the staff’s solution (but not see its code).
When to Do It
How to Get Help
- Browse or search for answers on Ed!
- Verbalize your logic to a rubber duck (whether actual or virtual!) and see if you hear any illogic in your own words!
- Sign up for a tutorial!
- Attend office hours!
Advice
- Try out any of David’s programs from class via Week 2’s examples.
- To see the manual pages for C functions, visit manual.cs50.io.
- If you see any errors when compiling your code with
make
, focus first on fixing the very first error you see, scrolling up as needed. If unsure what it means, try askinghelp50
for help. For instance, if trying to compilereadability
, andmake readability
is yielding errors, try running
help50 make readability
instead!