Sections
- Part 1: Overview
- Part 2: Variables
- Part 3: I/O and Operators
- Part 4: Arrays, Strings, and Structs
- Part 5: Functions and Control Flow
- Part 6: C Compilation
- Part 7: Pointers I
- Part 8: Pointers II
- Part 9: Memory Layout, Stack and Heap
Running Code
You may find it helpful to compile and run code yourself. This can be done by:
- Running on the board (You can modify your lab1 program, or copy your lab1 folder to another directory and use that)
- Compiling and running in Linux (we have provided a playground directory where you can modify main.c, run
make
to compile, and then run using./main
.) - Manually compile a file using gcc:
gcc myFile.c
, and then run the produced executable:./a.out