Meeting 7 notes
Goals
Goals
- Have fun!
- Learn how to read and construct strings.
- Goal: Finish the Initializing challenge from Problem Set 2, Get started on the Hail, Caesar challenge.
- Stretch goal: Finish Hail, Caeser challenge.
- Super-stretch goal: Finish Parlez-vous français challenge.
- Yummy goal: Eat treats.
Agenda
Agenda
- Review syntax for accessing individual letters in a string.
- Review what's in s[0], s[-1], s[strlen(s)], s[strlen(s) - 1], and s[strlen(s) + 1]
- Quiz: what is the difference between s[i + 1] and s[i] + 1 ?
- Coding!
- What to do if you get stuck?
- Ask your peers questions.
- Ask Google when your peers don't know.
- Ask an instructor if those don't work.
- Don't stay stuck for more than 10 minutes without asking for help.
- Validate your programs with check50
Handy links
Handy links
- CS50x home page
- CS50x IDE (coding platform)
- Problem set 1
- Problem set 2
- CS50 style guide
- CS50 library documentation
- CS50 library source code (for reference, background)