Learning to Code with C

Learning to Code with C

Learning the C programming language will give you masterful control over a computer. “It can give you control over the smallest details of how a processor operates but is still simple to learn and read,” says Simon. “This series is an introduction to programming in C for absolute beginners; you don’t need any previous programming experience, and a Raspberry Pi running Raspbian is all you need to get started.”

Moreover, a working knowledge of coding is a must have tool for your digital toolbox. This imperative language is used to create everything from digital toasters up to massive commercial projects.

Most of Linux and the Raspbian operating system is coded in C. As a consequence, learning it gives you a real insight into how programming, and computers, work.

Learn to Code with C was written by The Raspberry Pi Foundation’s very own Simon Long. The UX engineer responsible for much of Raspbian’s greatness.

Written by someone who knows their stuff, Learn to Code with C is your guide to the world’s most popular programming language.





  • [ CHAPTER ONE ] GETTING STARTED What’s so great about C?
  • [ CHAPTER TWO ] VARIABLES & ARITHMETIC Create variables and do maths
  • [ CHAPTER THREE ] CONDITIONS & COMPARISONS Control the flow of your C programs
  • [ CHAPTER FOUR ] MORE ADVANCED FLOW CONTROL For loops and case statements
  • [ CHAPTER FIVE ] POINTERS Variables have addresses too
  • [ CHAPTER SIX ] FUNCTIONS Split your code into bite-sized chunks
  • [ CHAPTER SEVEN ] ARRAYS & STRINGS Handle lists of values, and letters
  • [ CHAPTER EIGHT ] THE STRING LIBRARY Simplify common operations on strings
  • [ CHAPTER NINE ] USER INPUT Reading and interpreting user input
  • [ CHAPTER TEN ] FILE INPUT AND OUTPUT Learn to read from and write to files
  • [ CHAPTER ELEVEN ] MORE ABOUT TYPES AND VARIABLES Type definitions, enumerations & more
  • [ CHAPTER TWELVE ] HEADER FILES AND THE PREPROCESSOR Splitting code up into multiple files
  • [ CHAPTER THIRTEEN ] QUICK REFERENCE Cheat sheets and code examples