Unit 1 - Arrays

Preprocessing. Compiling. Assembling. Linking. Debugging. Arrays. Strings. Command-Line Arguments. Cryptography.

Lecture

Source Code

Resources

Shorts
  1. Step Over
  2. Step Into
  3. Functions
  4. Variables and Scope
  5. Arrays
  6. Command Line Arguments
Reference Sheets

Practice, Labs & Problems

  • Lab 2
  • Practice Problems
  • Problem Sets:
    • 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 the following:

If you submit more than one of Bulbs, Caesar, Substitution, or Wordle50, we’ll record the single highest of your scores among those problems.

Advice

  • Try out any of the programs from class via the source code above
  • 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 asking help50 for help. For instance, if trying to compile readability, and
    make readability
    

    is yielding errors, try running

    help50 make readability
    

    instead!