Unit 0 - C

C. Source Code. Machine Code. Compiler. Correctness, Design, Style. Visual Studio Code. Syntax Highlighting. Escape Sequences. Header Files. Libraries. Manual Pages. Types. Conditionals. Variables. Loops. Linux. Graphical User Interface (GUI). Command-Line Interface (CLI). Constants. Comments. Pseudocode. Operators. Integer Overflow. Floating-Point Imprecision.

Lecture

Source Code

Resources

Shorts
Reference Sheets

Labs, Practice, and Problems

  • Lab 1
  • Practice Problems
  • Problem Sets:
    1. Submit one of:
    2. Submit one of:
      • Cash if feeling less comfortable
      • Credit if feeling more comfortable

    If you submit both versions of Mario, I’ll record the higher of your two scores. If you submit both Cash and Credit, I’ll record the higher of your two scores.

Advice

  • Try out any of the programs from class via the source code above
  • 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 hello, and
    make hello
    

    is yielding errors, try running

    help50 make hello
    

    instead!