Skip to content

jaqarrick/c-info

Repository files navigation

Learning C

This repo is a WIP guide for those who wish to learn C. Each chapter includes its own README and corresponding C programs, which must be compiled before they are run. Most of the chapters in this guide are my notes while working through Brian Kernighan and Dennis Ritchie's book The C Programming Language.

On most machines you can use the cc or gcc commands like so: cd example-directory/examples && gcc example.c then run ./a.out

Chapters

  1. Hello World - printf and scanf
  2. Operations
  3. Charcter Input and Output
  4. Arrays
  5. Functions
  6. Pointers
  7. Structs
  8. Pipes

Bonus Chapters

More to come!

Resources

MIT 6.S096

MIT 6.087

The C Programming Language