Homework week 2
What to Do
- Log into submit.cs50.io using your GitHub account and click Authorize cs50, then close the tab.
- Log into cs50.dev using your GitHub account to access your very own βcodespace.β
- Once your codespace has loaded, close any Welcome tabs that might have opened by default.
- Run
update50
in your codespaceβs terminal window to ensure that your codespace is up-to-date and, if prompted, click Rebuild now. - Complete Hello, World.
- Submit Hello, Itβs Me.
- Submit one of:
- this version of Mario, if feeling less comfortable
- this version of Mario, if feeling more comfortable
- Submit one of:
If you submit both versions of Mario, weβll record the higher of your two scores. If you submit both Cash and Credit, weβll record the higher of your two scores.
When to Do It
Advice
Try out any of Davidβs programs from class via Week 1βs source code.
See CS50βs style guide for C for tips on how to improve your codeβs style.
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 compilehello
, andmake hello
is yielding errors, try running
help50 make hello
instead!